mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-17 05:53:15 +02:00
don't show restart banner for local connectors, they only reload, not restart
This commit is contained in:
@@ -225,7 +225,8 @@ function initializeSearch() {
|
||||
function updateRestartBanner() {
|
||||
var banner = document.getElementById('restartBanner');
|
||||
if (!banner) return;
|
||||
if (currentServer && currentServer.restartNeeded) {
|
||||
// Don't show restart banner for local connectors - they only reload, not restart
|
||||
if (currentServer && currentServer.restartNeeded && currentServer.type !== 'local') {
|
||||
banner.style.display = 'block';
|
||||
} else {
|
||||
banner.style.display = 'none';
|
||||
|
||||
Reference in New Issue
Block a user