show reconnect dialog only if user is logged in
<script>
import events from '../../events'
+import store from '../../store'
export default {
created () {
events.$on('DISCONNECTED', () => {
+ if (store.state.user) {
this.$refs['disconnected-dialog'].open()
+ }
})
},
methods: {
