this.projectRoleMap.project_role_mappings.push({ project: res.project_name, role: res.role_name });
});
if (this.projectRoleMap.project_role_mappings.length !== 0) {
+ if (!this.projectRoleForm.dirty) {
+ this.notifierService.notify('warning', this.translateService.instant('PAGE.TOPOLOGY.DATAEMPTY'));
+ return;
+ }
this.isLoadingResults = true;
this.restService.patchResource(apiURLHeader, this.projectRoleMap).subscribe((result: {}): void => {
this.isLoadingResults = false;