Skip to content

Commit 5e69a9d

Browse files
committed
fix(site): show workspace start button when require active version is enabled (coder#13482)
(cherry picked from commit f1b42a1)
1 parent ba0bf43 commit 5e69a9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ export const WorkspaceActions: FC<WorkspaceActionsProps> = ({
172172
</>
173173
)}
174174

175+
{!canBeUpdated &&
176+
workspace.template_require_active_version &&
177+
buttonMapping.start}
178+
175179
{isRestarting
176180
? buttonMapping.restarting
177181
: actions.map((action) => (

0 commit comments

Comments
 (0)