Merge branch 'RED-9893' into 'master'
RED-9893: show missing type toaster only once. See merge request redactmanager/red-ui!551
This commit is contained in:
commit
65fc2971ac
@ -137,7 +137,7 @@ export class FileDataService extends EntitiesService<AnnotationWrapper, Annotati
|
||||
|
||||
this.#logger.info('[REDACTION_LOG] Redaction log loaded', redactionLog);
|
||||
let annotations = await this.#convertData(redactionLog);
|
||||
this.#checkMissingTypes();
|
||||
if (!this.#annotations().length && annotations.length !== this.missingTypes.size) this.#checkMissingTypes();
|
||||
annotations = this.#isIqserDevMode ? annotations : annotations.filter(a => !a.isFalsePositive);
|
||||
this.#annotations.set(annotations);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user