* [refac] Fixed the issue where tasks can't be edited in the lite vision.

This commit is contained in:
tianshujie
2025-12-03 09:14:29 +08:00
committed by wangyuting
parent 245393911d
commit fe5d5eabaa
+6
View File
@@ -82,6 +82,12 @@ foreach($actions as $key => $action)
{
$actions[$key]['data-confirm'] = array('message' => $lang->task->confirmDeleteParent, 'icon' => 'icon-exclamation-sign', 'iconClass' => 'warning-pale rounded-full icon-2x');
}
if($isInModal && isset($action['icon']) && $action['icon'] == 'edit')
{
$actions[$key]['data-toggle'] = 'modal';
$actions[$key]['data-size'] = 'lg';
}
}
/* 初始化主栏内容。Init sections in main column. */