don't show restart banner for local connectors, they only reload, not restart

This commit is contained in:
2025-12-30 12:47:57 +01:00
parent 489db1658c
commit 7525f38e25
8 changed files with 38 additions and 4 deletions

View File

@@ -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';