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