Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: show mobile send button when only attachments are present (#3445)
Peter Chinman2261f5b08ea6
diff --git a/js/app/packages/channel/Input/SendAction.tsx b/js/app/packages/channel/Input/SendAction.tsxindex cdba6f8656..fe8caae298 100644--- a/js/app/packages/channel/Input/SendAction.tsx+++ b/js/app/packages/channel/Input/SendAction.tsx@@ -15,7 +15,6 @@ export function SendAction(props: SendActionProps) {const [local, rest] = splitProps(props, ['class', 'tooltip', 'hidden']);const isBlockedByPending = () => !!input().hasPendingAttachments;const isBlockedByEmptyInput = () => !hasSendableInputContent(input());- const hasTextInput = () => (input().value?.trim().length ?? 0) > 0;const tooltipText = () => local.tooltip ?? 'Send message';@@ -27,7 +26,7 @@ export function SendAction(props: SendActionProps) {data-input-action="send"pending={isBlockedByPending()}disabled={isBlockedByPending() || isBlockedByEmptyInput()}- hidden={isMobile() && !hasTextInput()}+ hidden={isMobile() && isBlockedByEmptyInput()}class={local.class}onPointerDown={(event) => {event.preventDefault();