diff --git a/src/resources/js/app.js b/src/resources/js/app.js index 05be820..d8d14a4 100644 --- a/src/resources/js/app.js +++ b/src/resources/js/app.js @@ -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);