From 6cb6ef92bb32cc57ca40bf2f39ecdd514d64f68d Mon Sep 17 00:00:00 2001 From: liugang Date: Mon, 18 Mar 2024 15:00:49 +0800 Subject: [PATCH] * helper: display text if the action button hasn't icon. --- framework/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helper.class.php b/framework/helper.class.php index 32e366f53f..3c4ff1b852 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -643,7 +643,7 @@ function initTableActions(array &$fieldList, string $actionMenu): void if(!isset($fieldList['actions']['list'][$action])) continue; $actionConfig = $fieldList['actions']['list'][$action]; - $actionConfig['text'] = ''; + if(!empty($actionConfig['icon'])) $actionConfig['text'] = ''; if(!empty($actionConfig['url']['module']) && !empty($actionConfig['url']['method'])) {