fix: allow sending messages with just media files and no text in the editor

This commit is contained in:
Abhinav Raut
2025-06-08 16:42:35 +05:30
parent ebf6a980e8
commit 803196985d

View File

@@ -208,7 +208,8 @@ const toggleFullscreen = () => {
const enableSend = computed(() => {
return (
(textContent.value.trim().length > 0 ||
conversationStore.getMacro('reply')?.actions?.length > 0) &&
conversationStore.getMacro('reply')?.actions?.length > 0 ||
props.uploadedFiles.length > 0) &&
emailErrors.value.length === 0 &&
!props.uploadingFiles.length
)