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,8 +79,8 @@ 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',
}, },
@ -221,10 +221,10 @@ export default {
this.refetchMessage(message.roomId) this.refetchMessage(message.roomId)
}, },
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: {
@ -279,7 +279,7 @@ body {
border-radius: 50%; border-radius: 50%;
position: relative; position: relative;
> .initials{ > .initials {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;

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>
@ -35,10 +38,10 @@ 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>