From ecad712b26ab2c179df9ee246b2b85a454ccc9bb Mon Sep 17 00:00:00 2001 From: fusionate Date: Sat, 18 Feb 2023 00:18:29 +0000 Subject: [PATCH] Dashboard: Adjust Expand/Contract All button based on widget Hidden state, as well. --- core/dashboard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dashboard/index.php b/core/dashboard/index.php index 8e626d60ba..5b7000d262 100644 --- a/core/dashboard/index.php +++ b/core/dashboard/index.php @@ -176,7 +176,7 @@ if (is_array($dashboard) && @sizeof($dashboard) != 0) { $expanded_all = true; foreach ($dashboard as $row) { - if ($row['dashboard_details_state'] == 'contracted') { $expanded_all = false; } + if ($row['dashboard_details_state'] == 'contracted' || $row['dashboard_details_state'] == 'hidden') { $expanded_all = false; } } }