mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix linting
This commit is contained in:
parent
074711dd90
commit
b26e454562
@ -405,7 +405,7 @@ export default {
|
|||||||
// This fixes the room object which arrives from the backend
|
// This fixes the room object which arrives from the backend
|
||||||
const fixedRoom = {
|
const fixedRoom = {
|
||||||
...room,
|
...room,
|
||||||
index: room.lastMessage? room.lastMessage.date : room.createdAt,
|
index: room.lastMessage ? room.lastMessage.date : room.createdAt,
|
||||||
lastMessage: room.lastMessage
|
lastMessage: room.lastMessage
|
||||||
? {
|
? {
|
||||||
...room.lastMessage,
|
...room.lastMessage,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user