* Set actions width.

This commit is contained in:
liumengyi
2023-10-27 10:29:58 +08:00
parent a40383aba3
commit ac1231095a
+1 -1
View File
@@ -123,7 +123,7 @@ class datatableModel extends model
if(!isset($set['name'])) $setting[$field]['name'] = $field;
if($module == 'testcase' && $field == 'id') $setting[$field]['name'] = 'caseID';
if($field == 'actions') $setting[$field]['width'] = $fieldList[$field]['width'];
if($field == 'actions' && empty($setting[$field]['width'])) $setting[$field]['width'] = $fieldList[$field]['width'];
}
}