mirror of
https://github.com/coder/coder.git
synced 2026-10-25 09:42:55 +08:00
chore: add more stories and use new groups query for user settings page (#14481)
This commit is contained in:
@@ -20,7 +20,11 @@ export const withDashboardProvider = (
|
||||
Story: FC,
|
||||
{ parameters }: StoryContext,
|
||||
) => {
|
||||
const { features = [], experiments = [] } = parameters;
|
||||
const {
|
||||
features = [],
|
||||
experiments = [],
|
||||
showOrganizations = false,
|
||||
} = parameters;
|
||||
|
||||
const entitlements: Entitlements = {
|
||||
...MockEntitlements,
|
||||
@@ -42,7 +46,7 @@ export const withDashboardProvider = (
|
||||
experiments,
|
||||
appearance: MockAppearanceConfig,
|
||||
organizations: [MockDefaultOrganization],
|
||||
showOrganizations: false,
|
||||
showOrganizations,
|
||||
}}
|
||||
>
|
||||
<Story />
|
||||
|
||||
Reference in New Issue
Block a user