diff --git a/view/websocket.js b/view/websocket.js index 165af3a..b59bb79 100644 --- a/view/websocket.js +++ b/view/websocket.js @@ -48,7 +48,7 @@ window.wsc_emergency = wsc.channel('emergency/31').listen(function(msg, err){ // {1} Rem messages from stack // for( var id in gstore.data.notif.emergency.data ) if( msg.del[ gstore.data.notif.emergency.data[id].id ] != null ) - delete gstore.data.notif.emergency.data[id]; + gstore.data.notif.emergency.data[id].message = 'Message supprimé'; }