Skip to content

Commit

Permalink
Ui-table - Ensure order is set
Browse files Browse the repository at this point in the history
to close node-red#80
  • Loading branch information
Dave Conway-Jones committed Jan 30, 2022
1 parent 5a3b627 commit 8c54da2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions node-red-node-ui-table/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = function (RED) {
return value;
}
);

var mid = (dark) ? "_midnight" : "";
var html = String.raw`
<style>.nr-dashboard-ui_table { padding:0; }</style>
Expand Down Expand Up @@ -107,7 +107,7 @@ module.exports = function (RED) {
height: (config.height > 2) ? config.height : 2, // min height to 2 so auto will show something
format: html,
templateScope: 'local',
order: config.order,
order: config.order || 0,
group: config.group,
forwardInputMessages: false,
storeFrontEndInputAsState: false,
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-table",
"version": "0.3.10",
"version": "0.3.11",
"description": "Table UI widget node for Node-RED Dashboard",
"author": "Kazuhito Yokoi",
"contributors": ["Dave Conway-Jones","@hotNipi","@Christian-Me"],
Expand Down

0 comments on commit 8c54da2

Please sign in to comment.