Skip to content

Commit 74e5e9e

Browse files
authored
Merge pull request #42 from LaswitchTech/dev
General: Version bumped to v0.0.43
2 parents 90058f5 + 91071b0 commit 74e5e9e

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.42
1+
v0.0.43

info.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"base": "tasks",
55
"author": "LaswitchTech",
66
"email": "support@laswitchtech.com",
7-
"date": "2025-10-20",
8-
"version": "v0.0.42",
7+
"date": "2025-10-21",
8+
"version": "v0.0.43",
99
"tags": "tasks, management, workflowhub",
1010
"description": "Tasks Plugin for the LaswitchTech Core Framework.",
1111
"repository": "https://github.com/LaswitchTech/core-plugin-tasks",

library.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,10 @@ builder.add('widgets','tasks', class extends builder.ComponentClass {
12921292
this._properties.datatable.buttons = [];
12931293

12941294
// Set Column Definitions
1295-
this._properties.datatable.columnDefs = tasksDefinition;
1295+
this._properties.datatable.columnDefs = [];
1296+
for(const [key, definition] of Object.entries(tasksDefinition)){
1297+
this._properties.datatable.columnDefs.push(definition);
1298+
}
12961299

12971300
// Set Column Order
12981301
this._properties.datatable.order = [[7, 'asc']];

script.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,12 @@ if(typeof dashboard !== "undefined"){
395395
// Set Self
396396
const self = this;
397397

398+
// Set Column Definitions
399+
const columnDefs = [];
400+
for(const [key, definition] of Object.entries(tasksDefinition)){
401+
columnDefs.push(definition);
402+
}
403+
398404
// Create the Card
399405
this._builder.Component(
400406
'card',
@@ -468,7 +474,7 @@ if(typeof dashboard !== "undefined"){
468474
]
469475
},
470476
buttons: [],
471-
columnDefs: tasksDefinition,
477+
columnDefs: columnDefs,
472478
order: [[15, 'asc']],
473479
initComplete: function(param) {
474480
$(param.nTableWrapper).find('.dataTables_filter input').attr({

0 commit comments

Comments
 (0)