refactor: disable WebSocket notifications in inbound and index HTML files

This commit is contained in:
lolka1333 2025-12-14 12:27:46 +01:00
parent 28aa2d0a0c
commit d2201c8fd4
2 changed files with 2 additions and 22 deletions

View file

@ -1645,17 +1645,7 @@
} }
}); });
// Listen for notifications // Notifications disabled - white notifications are not needed
window.wsClient.on('notification', (payload) => {
if (payload && payload.title) {
const type = payload.level || 'info';
this.$notification[type]({
message: payload.title,
description: payload.message || '',
duration: 4.5,
});
}
});
// Fallback to polling if WebSocket fails // Fallback to polling if WebSocket fails
window.wsClient.on('error', () => { window.wsClient.on('error', () => {

View file

@ -1161,17 +1161,7 @@
} }
}); });
// Listen for notifications // Notifications disabled - white notifications are not needed
window.wsClient.on('notification', (payload) => {
if (payload && payload.title) {
const type = payload.level || 'info';
this.$notification[type]({
message: payload.title,
description: payload.message || '',
duration: 4.5,
});
}
});
// Fallback to polling if WebSocket fails // Fallback to polling if WebSocket fails
window.wsClient.on('error', () => { window.wsClient.on('error', () => {