Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd7b922 commit 2233bdcCopy full SHA for 2233bdc
site/src/components/WorkspaceScheduleButton/WorkspaceScheduleButton.stories.tsx
@@ -115,3 +115,17 @@ WorkspaceOffLong.args = {
115
ttl_ms: 2 * 365 * 24 * 60 * 60 * 1000, // 2 years
116
},
117
}
118
+
119
+export const CannotEdit = Template.bind({})
120
+CannotEdit.args = {
121
+ workspace: {
122
+ ...Mocks.MockWorkspace,
123
124
+ latest_build: {
125
+ ...Mocks.MockWorkspaceBuild,
126
+ transition: "stop",
127
+ },
128
+ ttl_ms: 2 * 60 * 60 * 1000, // 2 hours
129
130
+ canUpdateWorkspace: false,
131
+}
0 commit comments