fix imported file attributes primary key
This commit is contained in:
parent
4943328381
commit
2ab93d0142
@ -20,7 +20,7 @@ export class ActiveFieldsListingComponent extends BaseListingComponent<Field> im
|
||||
@Output() toggleFieldActive = new EventEmitter<Field>();
|
||||
|
||||
readonly typeOptions = [FileAttributeConfig.TypeEnum.TEXT, FileAttributeConfig.TypeEnum.NUMBER, FileAttributeConfig.TypeEnum.DATE];
|
||||
protected readonly _primaryKey = 'id';
|
||||
protected readonly _primaryKey = 'csvColumn';
|
||||
|
||||
constructor(protected readonly _injector: Injector) {
|
||||
super(_injector);
|
||||
|
||||
@ -31,7 +31,7 @@ export interface Field {
|
||||
providers: [FilterService, SearchService, ScreenStateService, SortingService]
|
||||
})
|
||||
export class FileAttributesCsvImportDialogComponent extends BaseListingComponent<Field> {
|
||||
protected readonly _primaryKey = 'id';
|
||||
protected readonly _primaryKey = 'csvColumn';
|
||||
|
||||
csvFile: File;
|
||||
dossierTemplateId: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user