diff --git a/src/App.tsx b/src/App.tsx index f06eb74..efcdb53 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2221,6 +2221,11 @@ export default function App() { ); } + // The Windows desktop bundle runs as one local admin (LUMINARY_LOCAL=1). + // Accounts and team administration have nothing to manage there, so both + // panels and the entry point to them stay out of the UI. + const localMode = cloudHealth?.local === true; + return (
{ setCatalogOpen(false); if (v === 'develop' && !activePhoto) { @@ -2646,7 +2652,7 @@ export default function App() {
)} - {cloudOpen && ( + {cloudOpen && !localMode && ( )} - {adminOpen && cloudUser && ( + {adminOpen && cloudUser && !localMode && ( setAdminOpen(false)} diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index bad5e4d..6d0c634 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -7,6 +7,8 @@ interface Props { selectedCount: number; cloudLabel: string; cloudOn: boolean; + /** Desktop mode has no account, so the team-server button is not shown. */ + localMode?: boolean; onViewChange: (view: ViewMode) => void; onImport: () => void; onExport: () => void; @@ -25,6 +27,7 @@ export default function TopBar({ selectedCount, cloudLabel, cloudOn, + localMode = false, onViewChange, onImport, onExport, @@ -70,10 +73,12 @@ export default function TopBar({
- + {!localMode && ( + + )} {canShare && (