diff --git a/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.html b/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.html index 03db9a3b3ee1175e1ee5028b9854642f3e90fc3c..77051e50831a538ec47dc75fdf5c5941b1ee8a15 100644 --- a/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.html +++ b/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.html @@ -19,10 +19,9 @@ [dlcmSpinner]="isLoadingWithDependencyObs | async" > <dlcm-admin-role-form #formPresentational - *ngIf="isReadyToBeDisplayedInCreateModeObs | async" + *ngIf="isReadyToBeDisplayedObs | async" [model]="currentObs| async" [readonly]="true" > </dlcm-admin-role-form> - </div> diff --git a/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.ts b/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.ts index 17a83aab751b064eacef4a5dd685674c70d1a725..6d8ad2f5898fe039f2d4a38a10760872aaeafd8f 100644 --- a/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.ts +++ b/src/app/features/admin/role/components/routables/admin-role-detail/admin-role-detail.routable.ts @@ -27,7 +27,7 @@ import {TRANSLATE} from "solidify-frontend"; }) export class AdminRoleDetailRoutable extends SharedAbstractDetailRoutable<Role, AdminRoleStateModel> { @Select(AdminRoleState.isLoadingWithDependency) isLoadingWithDependencyObs: Observable<boolean>; - @Select(AdminRoleState.isReadyToBeDisplayedInCreateMode) isReadyToBeDisplayedInCreateModeObs: Observable<boolean>; + @Select(AdminRoleState.isReadyToBeDisplayed) isReadyToBeDisplayedObs: Observable<boolean>; readonly KEY_DELETE_BUTTON: string = TRANSLATE("admin.roles.button.delete"); readonly KEY_EDIT_BUTTON: string = TRANSLATE("admin.roles.button.edit");