diff --git a/frontend/src/components/mail/RightPanel.tsx b/frontend/src/components/mail/RightPanel.tsx index 8388208..ab530c7 100644 --- a/frontend/src/components/mail/RightPanel.tsx +++ b/frontend/src/components/mail/RightPanel.tsx @@ -65,11 +65,15 @@ export function RightPanel({ onTab, onClose, thread, + single = false, }: { tab: PanelTab; onTab: (t: PanelTab) => void; onClose: () => void; thread: ThreadDetail | undefined; + /** Opened as Calendar or Contacts on its own (the phone's menu): a title + * instead of the tabs, and Contacts starts on all contacts. */ + single?: boolean; }) { const t = useT(); // "Invite all to new event" (People tab) opens the SHARED calendar event form in @@ -84,7 +88,12 @@ export function RightPanel({ return (