diff --git a/src/app/modules/hub-users-management/hub-users.ts b/src/app/modules/hub-users-management/hub-users.ts index 36f06be..3d70d88 100644 --- a/src/app/modules/hub-users-management/hub-users.ts +++ b/src/app/modules/hub-users-management/hub-users.ts @@ -141,7 +141,7 @@ export class HubUsersManagement implements OnInit, OnDestroy { .subscribe({ next: (user) => { this.currentUserRole = this.extractUserRole(user); - this.canCreateUsers === this.roleService.isHubUser(); + this.canCreateUsers = this.roleService.isHubUser(); console.log(`HUB User ROLE: ${this.currentUserRole}`);