This commit is contained in:
xdrm-brackets 2017-12-07 23:27:39 +01:00
parent ec45b1c13a
commit 4699fe9e70
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ window.wsc_emergency = wsc.channel('emergency/31').listen(function(msg, err){
// {1} Update messages in stack // // {1} Update messages in stack //
for( var id of gstore.data.notif.emergency.data ) for( var id of gstore.data.notif.emergency.data )
if( msg.del.indexOf(gstore.data.notif.emergency.data[id].id) > -1 ) if( msg.del[ gstore.data.notif.emergency.data[id].id ] != null )
gstore.data.notif.emergency.data[id] = msg.upd; gstore.data.notif.emergency.data[id] = msg.upd;
} }