Merge branch 'ent-7219-Bug-en-widget-Groups-status-Dashboards' into 'develop'

fixed minor error

See merge request artica/pandorafms!3959
This commit is contained in:
Daniel Rodriguez 2021-03-26 11:04:19 +00:00
commit 3ea9a49136
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,9 @@ class SystemGroupStatusWidget extends Widget
// This forces at least a first configuration.
$this->configurationRequired = false;
if (empty($this->values['groupId']) === true) {
$this->configurationRequired = true;
}
$this->overflow_scrollbars = false;
}
@ -299,6 +302,7 @@ class SystemGroupStatusWidget extends Widget
'return' => true,
'multiple' => true,
'returnAllGroup' => $return_all_group,
'required' => true,
],
];