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

View File

@ -14,7 +14,10 @@
<modal />
</client-only>
<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>
</template>
@ -36,9 +39,9 @@ export default {
mixins: [seo, mobile()],
methods: {
closeSingleRoom() {
this.$store.commit('chat/SET_OPEN_CHAT', { showChat: false, roomID: 'u0' });
}
}
this.$store.commit('chat/SET_OPEN_CHAT', { showChat: false, roomID: 'u0' })
},
},
}
</script>