mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Ensure runtime event notification gets cleared on restart
This commit is contained in:
@@ -33,7 +33,7 @@ function handleStatus(event) {
|
||||
publish("status/"+event.id,event.status,true);
|
||||
}
|
||||
function handleRuntimeEvent(event) {
|
||||
publish("notification/"+event.id,event,event.hasOwnProperty('text'));
|
||||
publish("notification/"+event.id,event,true);
|
||||
}
|
||||
function init(_server,runtime) {
|
||||
server = _server;
|
||||
|
Reference in New Issue
Block a user