fix: only render tooltip when require_active_version enabled (#13484)
This commit is contained in:
1 parent
f1b42a15fa
commit
7995d7c3d6
1 file changed
+5
-1
@@ -244,7 +244,11 @@ function getTooltipText(
|
||||
return "";
|
||||
}
|
||||
|
||||
if (!mustUpdate && canChangeVersions) {
|
||||
if (
|
||||
!mustUpdate &&
|
||||
canChangeVersions &&
|
||||
workspace.template_require_active_version
|
||||
) {
|
||||
return "This template requires automatic updates on workspace startup, but template administrators can ignore this policy.";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user