mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Rename tag 'chat-module' to 'chat'
This commit is contained in:
parent
785a027989
commit
cc4cb8af46
@ -14,9 +14,9 @@
|
||||
<modal />
|
||||
</client-only>
|
||||
<div v-if="$store.getters['chat/showChat'].showChat" class="chat-modul">
|
||||
<chat-module
|
||||
v-on:close-single-room="closeSingleRoom"
|
||||
<chat
|
||||
:singleRoomId="$store.getters['chat/showChat'].roomID"
|
||||
@close-single-room="closeSingleRoom"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -27,14 +27,14 @@ import mobile from '~/mixins/mobile'
|
||||
import HeaderMenu from '~/components/HeaderMenu/HeaderMenu'
|
||||
import Modal from '~/components/Modal'
|
||||
import PageFooter from '~/components/PageFooter/PageFooter'
|
||||
import ChatModule from '~/components/Chat/Chat.vue'
|
||||
import Chat from '~/components/Chat/Chat.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
HeaderMenu,
|
||||
Modal,
|
||||
PageFooter,
|
||||
ChatModule,
|
||||
Chat,
|
||||
},
|
||||
mixins: [seo, mobile()],
|
||||
methods: {
|
||||
|
||||
@ -14,6 +14,11 @@ export default {
|
||||
mounted() {
|
||||
this.showChat({ showChat: false, roomID: null })
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
// former,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapMutations({
|
||||
showChat: 'chat/SET_OPEN_CHAT',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user