Fixed gh-529 so that the custom admin view does not hidemainmenu when it is selected as the default view (dashboard)
This commit is contained in:
@ -349,6 +349,13 @@ class Structure extends Get
|
||||
*/
|
||||
public $dynamicDashboard = false;
|
||||
|
||||
/**
|
||||
* The default view type
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $dynamicDashboardType;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
@ -1696,6 +1703,8 @@ class Structure extends Get
|
||||
= ComponentbuilderHelper::safeString(
|
||||
$dashboard['settings']->{$keys[$t]}
|
||||
);
|
||||
$this->dynamicDashboardType
|
||||
= $targets[$t];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user