This is an automated email from the ASF dual-hosted git repository. hshpak pushed a commit to branch fix/DATALAB-2863/group-name-validation in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit a247f334436f6f0ee6b491ce5f972c58154bc2e9 Author: Hennadii_Shpak <[email protected]> AuthorDate: Thu Aug 25 10:18:18 2022 +0300 minor fix --- .../webapp/src/app/core/directives/is-group-name-unique.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/core/directives/is-group-name-unique.directive.ts b/services/self-service/src/main/resources/webapp/src/app/core/directives/is-group-name-unique.directive.ts index 84f15aca0..f41c88f06 100644 --- a/services/self-service/src/main/resources/webapp/src/app/core/directives/is-group-name-unique.directive.ts +++ b/services/self-service/src/main/resources/webapp/src/app/core/directives/is-group-name-unique.directive.ts @@ -48,7 +48,7 @@ export class IsGroupNameUniqueDirective implements Validator { private isGroupExist(groupList: GroupModel[], comparedValue: string): boolean { return groupList.some(({group}) => { - return group.toLowerCase() === comparedValue; + return group.toLowerCase() === comparedValue.toLowerCase(); }); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
