From cb1c5187a2b288a89fba34d045dc82f936a80a6d Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 25 Jun 2025 07:40:39 +0000 Subject: [PATCH] * [bug#63538,done,0.2h] fix bug. --- module/execution/js/kanban.ui.js | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/module/execution/js/kanban.ui.js b/module/execution/js/kanban.ui.js index 73200879b4..d213fe4b9d 100644 --- a/module/execution/js/kanban.ui.js +++ b/module/execution/js/kanban.ui.js @@ -86,15 +86,19 @@ window.getColActions = function(col) } } - actionList.push( - { - type: 'dropdown', - icon: 'ellipsis-v', - caret: false, - items: buildColActions(col), - class: 'actionDrop' - } - ); + const colActions = buildColActions(col); + if(colActions.length) + { + actionList.push( + { + type: 'dropdown', + icon: 'ellipsis-v', + caret: false, + items: colActions, + class: 'actionDrop' + } + ); + } return actionList; }