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:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user