mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-01 20:44:12 +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(() => {
|
const enableSend = computed(() => {
|
||||||
return (
|
return (
|
||||||
(textContent.value.trim().length > 0 ||
|
(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 &&
|
emailErrors.value.length === 0 &&
|
||||||
!props.uploadingFiles.length
|
!props.uploadingFiles.length
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user