Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: only render tooltip when require_active_version enabled
  • Loading branch information
sreya committed Jun 6, 2024
commit 13ce457d6ed9ccf6760339419ee36cb9b1cf7c4c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ 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.";
}

Expand Down