Added the feature to use admin and custom admin views as the dashboard of the back-end of a component, requested in gh-148
This commit is contained in:
@ -1135,10 +1135,10 @@ class Get
|
||||
{
|
||||
$component->readme = '';
|
||||
}
|
||||
|
||||
// set lang now
|
||||
$nowLang = $this->lang;
|
||||
$this->lang = 'admin';
|
||||
|
||||
// dashboard methods
|
||||
$component->dashboard_tab = (isset($component->dashboard_tab) && ComponentbuilderHelper::checkJson($component->dashboard_tab)) ? json_decode($component->dashboard_tab, true) : null;
|
||||
if (ComponentbuilderHelper::checkArray($component->dashboard_tab))
|
||||
|
Reference in New Issue
Block a user