mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
Update packages/ui-next/src/components/message/MessageInput.svelte
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kristina <kristin.fefelova@gmail.com>
This commit is contained in:
parent
a9c2cc25e6
commit
a14466982c
@ -258,7 +258,7 @@
|
||||
if (message.files.some((it) => !files.some((f) => f.blobId === it.blobId))) return true
|
||||
if (newMarkup === undefined || content === undefined) return false
|
||||
|
||||
return !areEqualMarkups(content, newMarkup ?? '')
|
||||
return !areEqualMarkups(content, newMarkup ?? Markup.EmptyMarkup)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user