Skip to content

Commit a0bc229

Browse files
docs(common): clarify desktop organization switching behavior
1 parent 3d8810e commit a0bc229

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/hoppscotch-common/src/platform/organization.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,23 @@ export type OrganizationPlatformDef = {
1111
} | null>
1212
getRootDomain: () => string
1313
initiateOnboarding: () => void
14+
1415
/**
1516
* Whether organization switching is enabled for this platform
1617
* If true, an organization switcher will be shown
1718
*/
1819
organizationSwitchingEnabled?: boolean
20+
1921
/**
2022
* Custom component for the organization sidebar
2123
* If provided, will be shown as a sidebar in the layout
2224
*/
2325
customOrganizationSidebarComponent?: Component
26+
2427
/**
2528
* Switch to a specific organization instance or default cloud instance
2629
* For web: redirects to the target URL
27-
* For desktop: downloads the organization bundle and connects
30+
* For desktop: loads the organization bundle and connects
2831
* @param orgDomain - The organization domain (null for default cloud instance)
2932
*/
3033
switchToInstance?: (orgDomain: string | null) => void | Promise<void>

0 commit comments

Comments
 (0)