mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
linting
This commit is contained in:
parent
ae2d6c7ad5
commit
33ecc4764e
@ -61,7 +61,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { roomQuery, createRoom, unreadRoomsQuery } from '~/graphql/Rooms'
|
import { roomQuery, createRoom, unreadRoomsQuery } from '~/graphql/Rooms'
|
||||||
import { messageQuery, createMessageMutation, chatMessageAdded, markMessagesAsSeen } from '~/graphql/Messages'
|
import {
|
||||||
|
messageQuery,
|
||||||
|
createMessageMutation,
|
||||||
|
chatMessageAdded,
|
||||||
|
markMessagesAsSeen,
|
||||||
|
} from '~/graphql/Messages'
|
||||||
import chatStyle from '~/constants/chat.js'
|
import chatStyle from '~/constants/chat.js'
|
||||||
import { mapGetters, mapMutations } from 'vuex'
|
import { mapGetters, mapMutations } from 'vuex'
|
||||||
|
|
||||||
@ -181,10 +186,9 @@ export default {
|
|||||||
observer.subscribe({
|
observer.subscribe({
|
||||||
next: this.chatMessageAdded,
|
next: this.chatMessageAdded,
|
||||||
error(error) {
|
error(error) {
|
||||||
console.error(error)
|
this.$toast.error(error)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user