RED-5553 - entity selection if manual type is not available

This commit is contained in:
Timo Bejan 2022-11-21 11:56:49 +02:00
parent 568a2a6ee3
commit 6d1bf174f0
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ export class FileAttributesCsvImportDialogComponent extends ListingComponent<IFi
const sample = this.getSample(csvColumn);
const isNumber = sample && !isNaN(sample);
return {
id: btoa(csvColumn),
id: Buffer.from(csvColumn, 'base64').toString(),
csvColumn,
name: csvColumn,
searchKey: csvColumn,

View File

@ -48,7 +48,7 @@ export class ManualAnnotationDialogComponent extends BaseDialogComponent impleme
this.isFalsePositiveRequest = this.data.manualRedactionEntryWrapper.type === 'FALSE_POSITIVE';
this.isDictionaryRequest = this.data.manualRedactionEntryWrapper.type === 'DICTIONARY' || this.isFalsePositiveRequest;
this.manualRedactionTypeExists = this._dictionaryService.hasManualType(this._dossier.dossierTemplateId) && false;
this.manualRedactionTypeExists = this._dictionaryService.hasManualType(this._dossier.dossierTemplateId);
this.form = this._getForm();
this.initialFormValue = this.form.getRawValue();