瀏覽代碼

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

fusionate 2 年之前
父節點
當前提交
5a5df286c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/dashboard/index.php

+ 1 - 1
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; }
 		}
 	}