#11126 fixed normal link graph

This commit is contained in:
Daniel Cebrian 2023-11-10 10:47:26 +01:00
parent c24cc4eea1
commit 8ca94d4096
2 changed files with 6 additions and 1 deletions

View File

@ -152,6 +152,12 @@ function redirectStatus(e, element) {
);
break;
case "Normal":
window.location.assign(
`index.php?sec=view&sec2=operation/agentes/status_monitor&refr=0&ag_group=0&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=&status=0&sort_field=&sort=none&pure=`
);
break;
default:
window.location.assign(
`index.php?sec=view&sec2=operation/agentes/status_monitor&refr=0&ag_group=0&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=&status=-1&sort_field=&sort=none&pure=`

View File

@ -35,7 +35,6 @@ class Overview extends Element
public function __construct()
{
global $config;
include_once $config['homedir'].'/include/graphs/fgraph.php';
parent::__construct();
include_once $config['homedir'].'/include/graphs/fgraph.php';
if (is_ajax() === true) {