Hide account and team admin UI in single-user mode

The desktop bundle has one local admin and nothing to manage, so the
account pill, the account panel and the team administration panel are
left out when the server reports local mode.
This commit is contained in:
2026-11-28 18:39:06 +00:00
parent b79f6c9a4e
commit 4beaaacf0e
3 changed files with 19 additions and 6 deletions
+2
View File
@@ -6,6 +6,8 @@ export interface Health {
version: string;
needsSetup: boolean;
registrationOpen: boolean;
/** Single-user desktop mode (LUMINARY_LOCAL=1): no accounts to manage. */
local?: boolean;
photos: number;
bytes: number;
storage?: { root: string; custom: boolean };