fixed linting

This commit is contained in:
Markus 2023-07-11 11:41:52 +02:00
parent 8551cbd896
commit c99bbe3708
2 changed files with 33 additions and 30 deletions

View File

@ -79,7 +79,7 @@ export default {
{ {
name: 'dummyItem', name: 'dummyItem',
title: 'Just a dummy item', title: 'Just a dummy item',
} },
/* { /* {
name: 'inviteUser', name: 'inviteUser',
title: 'Invite User', title: 'Invite User',
@ -224,7 +224,7 @@ export default {
getInitialsName(fullname) { getInitialsName(fullname) {
if (!fullname) return if (!fullname) return
return fullname.match(/\b\w/g).join('').substring(0, 3).toUpperCase() return fullname.match(/\b\w/g).join('').substring(0, 3).toUpperCase()
} },
}, },
apollo: { apollo: {
Rooms: { Rooms: {

View File

@ -14,7 +14,10 @@
<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 v-on:close-single-room="closeSingleRoom" :singleRoomId="$store.getters['chat/showChat'].roomID" /> <chat-module
v-on:close-single-room="closeSingleRoom"
:singleRoomId="$store.getters['chat/showChat'].roomID"
/>
</div> </div>
</div> </div>
</template> </template>
@ -36,9 +39,9 @@ export default {
mixins: [seo, mobile()], mixins: [seo, mobile()],
methods: { methods: {
closeSingleRoom() { closeSingleRoom() {
this.$store.commit('chat/SET_OPEN_CHAT', { showChat: false, roomID: 'u0' }); this.$store.commit('chat/SET_OPEN_CHAT', { showChat: false, roomID: 'u0' })
} },
} },
} }
</script> </script>