From eed7ff8aba616d89f7e0067e0d0169a15b0dd2b3 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 19 Sep 2023 16:18:58 +0200 Subject: [PATCH] #11436 Fix notif access stastics performance --- pandora_console/include/class/ConsoleSupervisor.php | 4 +++- pandora_console/include/styles/tables.css | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/ConsoleSupervisor.php b/pandora_console/include/class/ConsoleSupervisor.php index a434a30e7f..f6acd528e5 100644 --- a/pandora_console/include/class/ConsoleSupervisor.php +++ b/pandora_console/include/class/ConsoleSupervisor.php @@ -716,7 +716,7 @@ class ConsoleSupervisor $total_agents = db_get_value('count(*)', 'tagente'); - if ($total_agents >= 200) { + if ($total_agents >= 1) { if ((int) $config['agentaccess'] !== 0) { db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']); $this->notify( @@ -729,6 +729,8 @@ class ConsoleSupervisor 'url' => '__url__/index.php?sec=general&sec2=godmode/setup/setup§ion=perf', ] ); + } else { + $this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE'); } } else { $this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE'); diff --git a/pandora_console/include/styles/tables.css b/pandora_console/include/styles/tables.css index 7d93624dbb..dde75e8627 100644 --- a/pandora_console/include/styles/tables.css +++ b/pandora_console/include/styles/tables.css @@ -233,6 +233,10 @@ vertical-align: middle; } +#audit_logs > tbody > tr > td > img { + padding-right: 10px; +} + .table_action_buttons > a, .table_action_buttons > img, .table_action_buttons > button,