RED-5553 - entity selection if manual type is not available
This commit is contained in:
parent
568a2a6ee3
commit
6d1bf174f0
@ -219,7 +219,7 @@ export class FileAttributesCsvImportDialogComponent extends ListingComponent<IFi
|
|||||||
const sample = this.getSample(csvColumn);
|
const sample = this.getSample(csvColumn);
|
||||||
const isNumber = sample && !isNaN(sample);
|
const isNumber = sample && !isNaN(sample);
|
||||||
return {
|
return {
|
||||||
id: btoa(csvColumn),
|
id: Buffer.from(csvColumn, 'base64').toString(),
|
||||||
csvColumn,
|
csvColumn,
|
||||||
name: csvColumn,
|
name: csvColumn,
|
||||||
searchKey: csvColumn,
|
searchKey: csvColumn,
|
||||||
|
|||||||
@ -48,7 +48,7 @@ export class ManualAnnotationDialogComponent extends BaseDialogComponent impleme
|
|||||||
this.isFalsePositiveRequest = this.data.manualRedactionEntryWrapper.type === 'FALSE_POSITIVE';
|
this.isFalsePositiveRequest = this.data.manualRedactionEntryWrapper.type === 'FALSE_POSITIVE';
|
||||||
this.isDictionaryRequest = this.data.manualRedactionEntryWrapper.type === 'DICTIONARY' || this.isFalsePositiveRequest;
|
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.form = this._getForm();
|
||||||
this.initialFormValue = this.form.getRawValue();
|
this.initialFormValue = this.form.getRawValue();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user