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.

feat(email): allow changing the from-inbox when replying (#3734)

gbirmanb66d201bb5f0
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsx
index e7b9cedbbd..772a7382e0 100644
--- a/js/app/packages/block-email/component/BaseInput.tsx
+++ b/js/app/packages/block-email/component/BaseInput.tsx
@@ -1456,7 +1456,6 @@ export function BaseInput(props: {
links={emailLinksQuery.data?.links ?? []}
activeLinkId={activeLinkId()}
onSelect={(id) => form().setSelectedFromLink(id)}
- readonly={!!props.replyingTo()}
/>
</div>
</div>
diff --git a/js/app/packages/block-email/component/FromInboxSelector.tsx b/js/app/packages/block-email/component/FromInboxSelector.tsx
index 9a6fb3feac..8898f949a5 100644
--- a/js/app/packages/block-email/component/FromInboxSelector.tsx
+++ b/js/app/packages/block-email/component/FromInboxSelector.tsx
@@ -44,7 +44,6 @@ export function FromInboxSelector(props: {
links: FromInbox[];
activeLinkId: string | undefined;
onSelect: (linkId: string) => void;
- readonly?: boolean;
}) {
const activeInbox = () =>
props.links.find((l) => l.id === props.activeLinkId) ?? props.links[0];
@@ -52,7 +51,7 @@ export function FromInboxSelector(props: {
<Show when={activeInbox()}>
{(active) => (
<Show
- when={!props.readonly && props.links.length > 1}
+ when={props.links.length > 1}
fallback={
<div class="flex items-center gap-2 min-w-0 text-sm text-ink-muted">
<Show when={active()} keyed>