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 />
|
<modal />
|
||||||
</client-only>
|
</client-only>
|
||||||
<div v-if="$store.getters['chat/showChat'].showChat" class="chat-modul">
|
<div v-if="$store.getters['chat/showChat'].showChat" class="chat-modul">
|
||||||
<chat-module
|
<chat
|
||||||
v-on:close-single-room="closeSingleRoom"
|
|
||||||
:singleRoomId="$store.getters['chat/showChat'].roomID"
|
:singleRoomId="$store.getters['chat/showChat'].roomID"
|
||||||
|
@close-single-room="closeSingleRoom"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -27,14 +27,14 @@ import mobile from '~/mixins/mobile'
|
|||||||
import HeaderMenu from '~/components/HeaderMenu/HeaderMenu'
|
import HeaderMenu from '~/components/HeaderMenu/HeaderMenu'
|
||||||
import Modal from '~/components/Modal'
|
import Modal from '~/components/Modal'
|
||||||
import PageFooter from '~/components/PageFooter/PageFooter'
|
import PageFooter from '~/components/PageFooter/PageFooter'
|
||||||
import ChatModule from '~/components/Chat/Chat.vue'
|
import Chat from '~/components/Chat/Chat.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
HeaderMenu,
|
HeaderMenu,
|
||||||
Modal,
|
Modal,
|
||||||
PageFooter,
|
PageFooter,
|
||||||
ChatModule,
|
Chat,
|
||||||
},
|
},
|
||||||
mixins: [seo, mobile()],
|
mixins: [seo, mobile()],
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@ -14,6 +14,11 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.showChat({ showChat: false, roomID: null })
|
this.showChat({ showChat: false, roomID: null })
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// former,
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations({
|
...mapMutations({
|
||||||
showChat: 'chat/SET_OPEN_CHAT',
|
showChat: 'chat/SET_OPEN_CHAT',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user