mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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
|
||||
const fixedRoom = {
|
||||
...room,
|
||||
index: room.lastMessage? room.lastMessage.date : room.createdAt,
|
||||
index: room.lastMessage ? room.lastMessage.date : room.createdAt,
|
||||
lastMessage: room.lastMessage
|
||||
? {
|
||||
...room.lastMessage,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user