Skip to content

Commit 139548c

Browse files
committed
Fix stories
1 parent be967dd commit 139548c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

site/src/pages/WorkspacePage/WorkspaceActions/WorkspaceActions.stories.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,30 @@ import {
88
withDesktopViewport,
99
} from "testHelpers/storybook";
1010
import { WorkspaceActions } from "./WorkspaceActions";
11+
import { deploymentConfigQueryKey } from "api/queries/deployment";
1112

1213
const meta: Meta<typeof WorkspaceActions> = {
1314
title: "pages/WorkspacePage/WorkspaceActions",
1415
component: WorkspaceActions,
1516
args: {
1617
isUpdating: false,
18+
permissions: {
19+
deleteFailedWorkspace: true,
20+
deploymentConfig: true,
21+
readWorkspace: true,
22+
updateWorkspace: true,
23+
updateWorkspaceVersion: true,
24+
},
1725
},
1826
decorators: [withDashboardProvider, withDesktopViewport, withAuthProvider],
1927
parameters: {
2028
user: Mocks.MockUserOwner,
29+
queries: [
30+
{
31+
key: deploymentConfigQueryKey,
32+
data: Mocks.MockDeploymentConfig,
33+
},
34+
],
2135
},
2236
};
2337

0 commit comments

Comments
 (0)