Commit 6ccba48e by kay delaney Committed by GitHub

Datasources list: Search now respects datasource type (#26456)

Closes #26399
parent 9c3f47aa
......@@ -5,7 +5,7 @@ export const getDataSources = (state: DataSourcesState) => {
const regex = new RegExp(state.searchQuery, 'i');
return state.dataSources.filter((dataSource: DataSourceSettings) => {
return regex.test(dataSource.name) || regex.test(dataSource.database);
return regex.test(dataSource.name) || regex.test(dataSource.database) || regex.test(dataSource.type);
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment