Dashboard: Adjust Expand/Contract All button based on widget Hidden state, as well.

This commit is contained in:
fusionate
2023-02-18 00:18:29 +00:00
parent 2d4bd75ac9
commit ecad712b26

View File

@@ -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; }
}
}