fix for not displaying role sync button 70/109370/1
authorMuni Mohan Kunchi <munmohan@att.com>
Fri, 19 Jun 2020 18:30:18 +0000 (14:30 -0400)
committerMuni Mohan Kunchi <munmohan@att.com>
Fri, 19 Jun 2020 18:31:09 +0000 (14:31 -0400)
Issue-ID: PORTAL-909
Signed-off-by: Muni Mohan Kunchi <munmohan@att.com>
Change-Id: If8cad2f0c5a1ca3a4188b3b7b83ff7a4f1cf752b

portal-FE-common/src/app/pages/role/role.component.ts

index 0ed3956..6cd14bd 100644 (file)
@@ -245,7 +245,7 @@ export class RoleComponent implements OnInit {
     this.roleDataSource = new MatTableDataSource(this.availableRoles);
     this.applicationsService.getSingleAppInfoById(val).subscribe((res: any) => {
       this.appName = res.name;
-      if (res.centralAuth == true) {
+      if (res.rolesInAAF == true) {
         this.syncRolesApplied = true;
       }
     });