Commit 1019f51b by Qiang Xue

support panel hiding.

parent 365c5819
...@@ -77,7 +77,7 @@ class Module extends \yii\base\Module ...@@ -77,7 +77,7 @@ class Module extends \yii\base\Module
unset($corePanels[$id]); unset($corePanels[$id]);
} }
} }
$this->panels = array_merge($corePanels, $this->panels); $this->panels = array_filter(array_merge($corePanels, $this->panels));
} }
foreach ($this->panels as $id => $config) { foreach ($this->panels as $id => $config) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment