Merge branch 'RED-7562' into 'master'
RED-7562: Disabled the other tabs as well. See merge request redactmanager/red-ui!100
This commit is contained in:
commit
cee4fea221
@ -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'],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user