#11436 Fix notif access stastics performance

This commit is contained in:
miguel angel rasteu 2023-09-19 16:18:58 +02:00
parent f5c4ce872b
commit eed7ff8aba
2 changed files with 7 additions and 1 deletions

View File

@ -716,7 +716,7 @@ class ConsoleSupervisor
$total_agents = db_get_value('count(*)', 'tagente'); $total_agents = db_get_value('count(*)', 'tagente');
if ($total_agents >= 200) { if ($total_agents >= 1) {
if ((int) $config['agentaccess'] !== 0) { if ((int) $config['agentaccess'] !== 0) {
db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']); db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']);
$this->notify( $this->notify(
@ -729,6 +729,8 @@ class ConsoleSupervisor
'url' => '__url__/index.php?sec=general&sec2=godmode/setup/setup&section=perf', 'url' => '__url__/index.php?sec=general&sec2=godmode/setup/setup&section=perf',
] ]
); );
} else {
$this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE');
} }
} else { } else {
$this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE'); $this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE');

View File

@ -233,6 +233,10 @@
vertical-align: middle; vertical-align: middle;
} }
#audit_logs > tbody > tr > td > img {
padding-right: 10px;
}
.table_action_buttons > a, .table_action_buttons > a,
.table_action_buttons > img, .table_action_buttons > img,
.table_action_buttons > button, .table_action_buttons > button,