Merge branch 'ent-11482-widget-de-module-histogram-en-metaconsola-no-lista-modulos-del-agente-ya-seleccionado-en' into 'develop'
Ent 11482 widget de module histogram en metaconsola no lista modulos del agente ya seleccionado en See merge request artica/pandorafms!6048
This commit is contained in:
commit
2923fa867e
|
@ -351,7 +351,7 @@ class GraphModuleHistogramWidget extends Widget
|
||||||
'agent_id' => $values['agentId'],
|
'agent_id' => $values['agentId'],
|
||||||
'metaconsole_id' => $values['metaconsoleId'],
|
'metaconsole_id' => $values['metaconsoleId'],
|
||||||
'style' => 'width: inherit;',
|
'style' => 'width: inherit;',
|
||||||
'filter_modules' => (users_access_to_agent($values['agentId']) === false) ? [$values['moduleId']] : [],
|
'filter_modules' => (users_access_to_agent($values['agentId'], 'AR', false, is_metaconsole()) === false) ? [$values['moduleId']] : [],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue