resolves #58: 'connecting' overlay not removed

Now that the 'status' message can be used also as an update
(since 2a14567), extra care has to be taken with the popup
reconnecting overlay
pull/70/head
Oliver Giles 6 years ago
parent b1dc0d62a0
commit d241d6757f

@ -44,6 +44,7 @@ const WebsocketHandler = function() {
if (!this.comp)
return console.error("Page component was undefined");
else {
this.comp.$root.connected = true;
this.comp.$root.showNotify(msg.type, msg.data);
if(typeof this.comp[msg.type] === 'function')
this.comp[msg.type](msg.data);

Loading…
Cancel
Save