Skip to content

Commit 13ce457

Browse files
committed
fix: only render tooltip when require_active_version enabled
1 parent f1b42a1 commit 13ce457

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
@@ -244,7 +244,7 @@ function getTooltipText(
244244
return "";
245245
}
246246

247-
if (!mustUpdate && canChangeVersions) {
247+
if (!mustUpdate && canChangeVersions && workspace.template_require_active_version) {
248248
return "This template requires automatic updates on workspace startup, but template administrators can ignore this policy.";
249249
}
250250

0 commit comments

Comments
 (0)