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'),
|
'policies' => __('Policies'),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (is_metaconsole() === true) {
|
||||||
|
$fields = ['group' => __('Groups')];
|
||||||
|
}
|
||||||
|
|
||||||
$inputs[] = [
|
$inputs[] = [
|
||||||
'label' => __('Type tree'),
|
'label' => __('Type tree'),
|
||||||
'arguments' => [
|
'arguments' => [
|
||||||
|
|
Loading…
Reference in New Issue