diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index d2b1e86d7..462261a79 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -56,5 +56,5 @@ window.onload = () => { components: { App }, template: '', }).$mount('#app'); + window.pusher = vuePusher.init(); }; -window.pusher = vuePusher.init(); diff --git a/app/javascript/src/components/ChatList.vue b/app/javascript/src/components/ChatList.vue index eb408c84a..32d12f8b5 100644 --- a/app/javascript/src/components/ChatList.vue +++ b/app/javascript/src/components/ChatList.vue @@ -1,37 +1,52 @@