dashboard widget tree fix in metaconsole only groups type

This commit is contained in:
Daniel Barbero Martin 2021-10-29 11:50:41 +02:00
parent c903942c7b
commit 9d776feb41
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,10 @@ class TreeViewWidget extends Widget
'policies' => __('Policies'),
];
if (is_metaconsole() === true) {
$fields = ['group' => __('Groups')];
}
$inputs[] = [
'label' => __('Type tree'),
'arguments' => [