|
@@ -148,7 +148,7 @@ export function loadDataSourceTypes(): ThunkResult<void> {
|
|
|
export function nameExits(dataSources, name) {
|
|
export function nameExits(dataSources, name) {
|
|
|
return (
|
|
return (
|
|
|
dataSources.filter(dataSource => {
|
|
dataSources.filter(dataSource => {
|
|
|
- return dataSource.name === name;
|
|
|
|
|
|
|
+ return dataSource.name.toLowerCase() === name.toLowerCase();
|
|
|
}).length > 0
|
|
}).length > 0
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|