dashboard widget tree fix in metaconsole only groups type
This commit is contained in:
parent
c903942c7b
commit
9d776feb41
|
@ -333,6 +333,10 @@ class TreeViewWidget extends Widget
|
|||
'policies' => __('Policies'),
|
||||
];
|
||||
|
||||
if (is_metaconsole() === true) {
|
||||
$fields = ['group' => __('Groups')];
|
||||
}
|
||||
|
||||
$inputs[] = [
|
||||
'label' => __('Type tree'),
|
||||
'arguments' => [
|
||||
|
|
Loading…
Reference in New Issue