Skip to content

Commit 4fc5bbd

Browse files
committed
fix: only render tooltip when require_active_version enabled
1 parent 8f62311 commit 4fc5bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function getTooltipText(
240240
return "";
241241
}
242242

243-
if (!mustUpdate && canChangeVersions) {
243+
if (!mustUpdate && canChangeVersions && workspace.template_require_active_version) {
244244
return "This template requires automatic updates on workspace startup, but template administrators can ignore this policy.";
245245
}
246246

0 commit comments

Comments
 (0)