- Ya
- 19 Aprili 2026, 20:08 UTC
- Mwandishi
- kamo
- Ahadi ya
- 456ab27
- BranchSetupManager: mapBackendModel now hydrates the persisted appConfigs returned by the backend (availability + allowedCommerceTypes per service type) instead of resetting them to NOT_AVAILABLE on load. Save payloads for both the child-model and master-model flows include appConfigs so the per-app availability and CRM commerce-type restrictions round-trip. Master model editor reuses mapBackendModel so it behaves identically. - useAppliedModel hook: expanded response type now carries the applied model's scalar settings (allowOwnersViewOtherOrgs, allowOwnersPrivateOrgs, allowSubChildOrgs, age ranges, identityProviderSetting, teamMemberPayFeesSetting), the appConfigs map, and orgIsPrivate — so any future editor (feature manager, OAuth config, commerce market) can gate uniformly without re-fetching. - Private-org toggle: new proxy route **************** (PATCH) and a visibility card surfaced on the branch-types tab, gated by allowOwnersPrivateOrgs. When enabled, other org owners won't see this org in listings. Optimistic UI reconciles against the next applied-model refresh.