Adds check for broken dataset template
This commit is contained in:
parent
e7db9ee664
commit
3d323615e4
|
@ -16,9 +16,11 @@ export class FieldDataOptionEditorModel extends FieldDataEditorModel<FieldDataOp
|
|||
}
|
||||
|
||||
fromModel(item: FieldDataOption): FieldDataOptionEditorModel {
|
||||
if (item) {
|
||||
this.label = item.label;
|
||||
this.value = item.value;
|
||||
this.source = item.source;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue