node-red-node-ui-table
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -31,6 +31,5 @@ /** | ||
source[element].forEach(sourceElement => { | ||
let index = target[element].findIndex(targetElement => targetElement.field===sourceElement.field); | ||
let index = target[element].findIndex(targetElement => (targetElement.field && sourceElement.field && targetElement.field===sourceElement.field)); | ||
if (index<0) { // add new column | ||
target[element].push({}); | ||
index=target[element].length-1; | ||
index=target[element].push({})-1; | ||
} | ||
@@ -106,3 +105,2 @@ mergeTabulator(target[element][index],sourceElement); | ||
// Help needed: use the already build in ui_control mechanism from ui.js | ||
beforeEmit: function (msg, value) { | ||
@@ -192,3 +190,2 @@ // cache ui_control messages for new clients | ||
} | ||
//turn autoColumns off if opts.columns is array with length > 0 | ||
@@ -195,0 +192,0 @@ if (opts.columns && Array.isArray(opts.columns) && opts.columns.length>0) { |
{ | ||
"name": "node-red-node-ui-table", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Table UI widget node for Node-RED Dashboard", | ||
@@ -5,0 +5,0 @@ "author": "Kazuhito Yokoi", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1180879
19258