Mor dynamic summary sizing

This commit is contained in:
Webifi
2023-05-29 07:16:11 -05:00
parent 4289ee6cd9
commit 53a923af80
5 changed files with 110 additions and 52 deletions

View File

@@ -182,7 +182,7 @@
const chats = get(chatsStorage)
const chat = chats.find((chat) => chat.id === chatId) as Chat
const index = chat.messages.findIndex((m) => m.uuid === uuid)
const found = chat.messages.filter((m) => m.uuid === uuid)
// const found = chat.messages.filter((m) => m.uuid === uuid)
if (index < 0) {
console.error(`Unable to find and delete message with ID: ${uuid}`)
return