Skip to content

Commit

Permalink
refactor newDeviceTable variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed Nov 30, 2023
1 parent 2454a3c commit 0522449
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
29 changes: 18 additions & 11 deletions admin/jsonConfig.json5
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
// "onlyIp4" : true
// },



// Text to explain adapter must be running to load this table
"details-1": {
Expand Down Expand Up @@ -269,7 +269,6 @@
"lg": 12,
"doNotSave": true,
"hidden": "!data.newDevicesTable || data.newDevicesTable.length == 0",
"label": "newDevicesTable",
"showSecondAddAt": 5,
"items": [
{
Expand Down Expand Up @@ -329,17 +328,16 @@
"header3": {
"type": "header",
"size": 3,
"text": "existDevicesHeader"
"text": "existDevicesHeader"
},
"templateTable": {
"existingDevicesTable": {
"type": "table",
"noDelete": true,
"newLine": true,
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"label": "lblDevicesTable",
"showSecondAddAt": 5,
"items": [
{
Expand Down Expand Up @@ -566,14 +564,23 @@
// "type": "panel",
// "label": "sandBox",
// "items": {
// "getDataFiles" : {
// "type": "fileSelector",
// "delete": true,
// "doNotSave": true
//
//
// "sandBox": {
// "type": "panel",
// "label": "sandBox",
// "items": {
// "getDataFiles" : {
// "newLine": true,
// "type": "fileSelector",
// "upload": "/",
// "label": "Upload g-code file",
// "help": "Here you can upload files, like g-code, to send to the printer",
// "sm": 3,
// "md": 3,
// "lg": 3
// }
// }
// }
// }
// }
}
}
4 changes: 2 additions & 2 deletions main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0522449

Please sign in to comment.