Close mini chat on visit chat room page

This commit is contained in:
Wolfgang Huß 2023-07-18 14:17:40 +02:00
parent 53cfbd0da1
commit 785a027989

View File

@ -6,9 +6,18 @@
</template>
<script>
import { mapMutations } from 'vuex'
import Chat from '../components/Chat/Chat.vue'
export default {
components: { Chat },
mounted() {
this.showChat({ showChat: false, roomID: null })
},
methods: {
...mapMutations({
showChat: 'chat/SET_OPEN_CHAT',
}),
},
}
</script>