feat(get-user): emit brand_chrome for Hamkar brandManaged opt-in
Expose brand_chrome so apps apply header/menu/body colors only after SuperAdmin color save. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -122,6 +122,12 @@ export class GetUserService {
|
||||
: undefined,
|
||||
/** Laravel-compatible overlay; Hamkar merges only when present */
|
||||
ui_settings: uiSettings.length ? uiSettings : undefined,
|
||||
/**
|
||||
* Hamkar only: when true, apply brand colors to mobile header+menu and page body
|
||||
* (including theme-two). Absent/false → keep factory chrome (no visual jump).
|
||||
*/
|
||||
brand_chrome:
|
||||
isHamkarUi && ui?.brandManaged === true ? true : undefined,
|
||||
/** Admin expiry modals — near/expired server, plugin, support */
|
||||
subscription_alerts,
|
||||
plugin_store_enabled: isKhanegi
|
||||
|
||||
Reference in New Issue
Block a user