mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
fix: allow sending messages with just media files and no text in the editor
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user