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

fix addRowTable jSynergy.js

parent c9cc8af5
......@@ -991,17 +991,19 @@ function __classSynergy() {
tableProps.properties.forEach(function (x) {
let comp = JSON.parse(JSON.stringify(x));
let compModel = comp.data || {
id: comp.id,
type: comp.type
};
compModel.____tableID____ = tableID;
compModel.____tableType____ = 'appendable_table';
compModel.____tableBlockIndex____ = '' + tableRowCount;
row.push(compModel);
if(comp.type !== 'label') {
let compModel = comp.data || {
id: comp.id,
type: comp.type
};
compModel.____tableID____ = tableID;
compModel.____tableType____ = 'appendable_table';
compModel.____tableBlockIndex____ = '' + tableRowCount;
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