diff --git a/apps/red-ui/src/app/modules/admin/base-entity-screen/base-entity-screen.component.ts b/apps/red-ui/src/app/modules/admin/base-entity-screen/base-entity-screen.component.ts index e00af9029..6772443c4 100644 --- a/apps/red-ui/src/app/modules/admin/base-entity-screen/base-entity-screen.component.ts +++ b/apps/red-ui/src/app/modules/admin/base-entity-screen/base-entity-screen.component.ts @@ -36,11 +36,7 @@ export class BaseEntityScreenComponent implements OnInit { this.canDeleteEntity$ = entity$.pipe(map(entity => this._permissionsService.canDeleteEntities(entity))); this.disabledItems$ = entity$.pipe( map(entity => - entity.hasDictionary - ? !entity.dossierDictionaryOnly - ? [] - : ['dictionary'] - : ['dictionary', 'false-positive', 'false-recommendations'], + entity.hasDictionary && !entity.dossierDictionaryOnly ? [] : ['dictionary', 'false-positive', 'false-recommendations'], ), ); }