RED-9893: show missing type toaster only once.
This commit is contained in:
parent
5d3eb3751c
commit
ca0fe4cf13
@ -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