committed by
Torkel Ödegaard
parent
308c818cd7
commit
e43f13bc03
@@ -148,7 +148,7 @@ export function loadDataSourceTypes(): ThunkResult<void> {
|
||||
export function nameExits(dataSources, name) {
|
||||
return (
|
||||
dataSources.filter(dataSource => {
|
||||
return dataSource.name === name;
|
||||
return dataSource.name.toLowerCase() === name.toLowerCase();
|
||||
}).length > 0
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user