Merge branch 'RED-7418' into 'master'
RED-7418: Disable preview mode if the file is in ERROR state Closes RED-7418 See merge request redactmanager/red-ui!417
This commit is contained in:
commit
e95b6a3824
@ -23,7 +23,7 @@ export class ViewSwitchComponent {
|
||||
});
|
||||
protected readonly canSwitchToRedactedView = computed(() => {
|
||||
const file = this._state.file();
|
||||
return !file.analysisRequired && !file.excluded;
|
||||
return !file.analysisRequired && !file.excluded && !file.isError;
|
||||
});
|
||||
protected readonly canSwitchToEarmarksView = computed(() => {
|
||||
const file = this._state.file();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user