fix for not displaying role sync button
[portal.git] / 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;
       }
     });