Fix linting

This commit is contained in:
Wolfgang Huß 2023-07-20 15:42:40 +02:00
parent 074711dd90
commit b26e454562

View File

@ -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,