* Finish task#36474.

This commit is contained in:
qiyu-xie
2021-03-09 09:43:01 +08:00
parent f565d4ab6f
commit 80ad23f3b4
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ class datatableModel extends model
$title = (isset($col->name) and $col->name) ? "title='$col->name'" : $title;
if($id == 'id' and (int)$width < 90) $width = '90px';
$width = "data-width='$width' style='width:$width'";
$align = ($id == 'actions' || $id == 'progress') ? 'text-center' : '';
$align = $id == 'actions' ? 'text-center' : '';
echo "<th data-flex='$fixed' $width class='c-$id $align' $title>";
if($id == 'actions')