Commit 3579b191 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

fix addRowTable jSynergy.js

parent c9cc8af5
...@@ -991,17 +991,19 @@ function __classSynergy() { ...@@ -991,17 +991,19 @@ function __classSynergy() {
tableProps.properties.forEach(function (x) { tableProps.properties.forEach(function (x) {
let comp = JSON.parse(JSON.stringify(x)); let comp = JSON.parse(JSON.stringify(x));
let compModel = comp.data || { if(comp.type !== 'label') {
id: comp.id, let compModel = comp.data || {
type: comp.type id: comp.id,
}; type: comp.type
};
compModel.____tableID____ = tableID;
compModel.____tableType____ = 'appendable_table'; compModel.____tableID____ = tableID;
compModel.____tableBlockIndex____ = '' + tableRowCount; compModel.____tableType____ = 'appendable_table';
compModel.____tableBlockIndex____ = '' + tableRowCount;
row.push(compModel);
row.push(compModel);
}
}); });
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment