Add check for undefined username
MODIFY
src/app/components/admin/create-developer/create-developer.component.ts
src/app/components/admin/create-developer/create-developer.component.ts
@@ -115,6 +115,7 @@ export class CreateDeveloperComponent implements OnInit, OnDestroy {
*/
checkDeveloperNotExists(username: string) {
return this.developerDataCache.developers
+ && username !== undefined
&& this.developerDataCache.developers.find((d) => d.name.toLowerCase() === username.toLowerCase()) === undefined;
}

GW-378 Add check for undefined username