Skip to content

Commit 246c3df

Browse files
committed
add story
1 parent 9570f91 commit 246c3df

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,14 @@ export const Outdated: Story = {
212212
},
213213
};
214214

215+
export const CantAutostart: Story = {
216+
args: {
217+
...Running.args,
218+
canAutostart: false,
219+
workspace: Mocks.MockOutdatedRunningWorkspaceRequireActiveVersion,
220+
},
221+
};
222+
215223
export const GetBuildsError: Story = {
216224
args: {
217225
...Running.args,

site/src/pages/WorkspacePage/Workspace.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import {
2929
import { BuildsTable } from "./BuildsTable";
3030
import { WorkspaceDeletedBanner } from "./WorkspaceDeletedBanner";
3131
import { WorkspaceStats } from "./WorkspaceStats";
32-
import { workspaceUpdatePolicy } from "utils/workspace";
3332

3433
export enum WorkspaceErrors {
3534
GET_BUILDS_ERROR = "getBuildsError",

0 commit comments

Comments
 (0)