mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fixed linting
This commit is contained in:
parent
8551cbd896
commit
c99bbe3708
@ -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%;
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user