chore: add more stories and use new groups query for user settings page (#14481)

This commit is contained in:
Kayla Washburn-Love
2024-08-29 17:00:12 -06:00
committed by GitHub
parent 6bc93520c4
commit d2a22c538b
6 changed files with 39 additions and 14 deletions
+6 -2
View File
@@ -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 />