DM-588 - Do not allow any annotations or annotation changes while auto-analysis is disabled
This commit is contained in:
parent
88d35436ad
commit
427dfa23e8
@ -184,13 +184,15 @@ export class PdfProxyService {
|
||||
}
|
||||
|
||||
if (this._iqserPermissionsService.has(Roles.redactions.write)) {
|
||||
popups.push({
|
||||
type: 'actionButton',
|
||||
dataElement: TextPopups.REDACT_TEXT,
|
||||
img: this.#addRedactionIcon,
|
||||
title: this.#getTitle(ManualRedactionEntryTypes.REDACT),
|
||||
onClick: () => this._ngZone.run(() => this.#redactText(ManualRedactionEntryTypes.REDACT)),
|
||||
});
|
||||
if (!(this.#isDocumine && this._state.file().excludedFromAutomaticAnalysis)) {
|
||||
popups.push({
|
||||
type: 'actionButton',
|
||||
dataElement: TextPopups.REDACT_TEXT,
|
||||
img: this.#addRedactionIcon,
|
||||
title: this.#getTitle(ManualRedactionEntryTypes.REDACT),
|
||||
onClick: () => this._ngZone.run(() => this.#redactText(ManualRedactionEntryTypes.REDACT)),
|
||||
});
|
||||
}
|
||||
|
||||
if (!this.#isDocumine) {
|
||||
popups.push({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user