mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
library title case insensitive check (#4099)
This commit is contained in:
committed by
Eugenio Romano
parent
b5f9036545
commit
5396cfb662
@@ -198,7 +198,7 @@ export class LibraryDialogComponent implements OnInit, OnDestroy {
|
||||
const { entries } = (await this.findLibraryByTitle(libraryTitle)).list;
|
||||
|
||||
if (entries.length) {
|
||||
this.libraryTitleExists = entries[0].entry.title === libraryTitle;
|
||||
this.libraryTitleExists = entries[0].entry.title.toLowerCase() === libraryTitle.toLowerCase();
|
||||
} else {
|
||||
this.libraryTitleExists = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user