convert values range from templates to option element

This commit is contained in:
VLE2FE
2020-08-06 15:23:44 +02:00
parent 4376adc1eb
commit 56cd4dcbcc
4 changed files with 63 additions and 27 deletions

View File

@ -7,4 +7,10 @@ export class TemplateModel extends BaseModel {
version = 0;
first_id: IdModel = null;
parameters: {name: string, range: {[prop: string]: any}, rangeString?: string}[] = [];
deserialize(input: any): this {
Object.assign(this, input);
return this;
}
}