mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-06 01:25:38 +00:00
lint fix
This commit is contained in:
parent
0ff766f457
commit
ccd065bcc7
@ -102,8 +102,7 @@
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-for="room in rooms"
|
||||
v-if="room.isGroupRoom"
|
||||
v-for="room in groupRooms"
|
||||
:slot="'room-list-info_' + room.roomId"
|
||||
:key="'info-' + room.id"
|
||||
>
|
||||
@ -153,7 +152,6 @@ import { mapGetters, mapMutations } from 'vuex'
|
||||
const EMPTY_ACTIONS = JSON.stringify([])
|
||||
const ROOM_PAGE_SIZE = 10
|
||||
const MESSAGE_PAGE_SIZE = 20
|
||||
const RESPONSIVE_BREAKPOINT = 600
|
||||
|
||||
export default {
|
||||
name: 'Chat',
|
||||
@ -277,6 +275,9 @@ export default {
|
||||
}
|
||||
return { name: 'chat', query }
|
||||
},
|
||||
groupRooms() {
|
||||
return this.rooms.filter((r) => r.isGroupRoom)
|
||||
},
|
||||
selectedRoomProfile() {
|
||||
if (!this.selectedRoom) return null
|
||||
return this.selectedRoom.isGroupRoom
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user