mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Dashboard: Adjust Expand/Contract All button based on widget Hidden state, as well.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user