Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(email): show send button on mobile forward without typed body (#4528)

Evan Hutnikb6cd8040e74e
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsx
index 3e42a9b6a7..cd66bc8bc7 100644
--- a/js/app/packages/block-email/component/BaseInput.tsx
+++ b/js/app/packages/block-email/component/BaseInput.tsx
@@ -1937,7 +1937,13 @@ export function BaseInput(props: {
!!form().sendTime()
}
pending={sendMutation.isPending}
- hidden={isMobile() && !hasBodyText()}
+ hidden={
+ isMobile() &&
+ !hasBodyText() &&
+ // Forwards carry the quoted thread as content, so send is
+ // available without typing anything.
+ effectiveReplyType() !== 'forward'
+ }
onClick={() => sendEmail()}
/>
</div>