fix: broken link highlighting in changelog section (#6853)

* fix: broken link highlighting in changelog section

* fix: hide switch vers for external files
This commit is contained in:
Calum H.
2026-07-24 15:54:30 +00:00
committed by GitHub
parent b06b14e0fb
commit cd56b98975
2 changed files with 2 additions and 2 deletions
@@ -1497,7 +1497,7 @@ provideContentManager({
enabled: canMutateContent(item) ? item.enabled : undefined,
installing: item.installing,
hideDelete: !canDeleteContent(item),
hideSwitchVersion: !canMutateContent(item),
hideSwitchVersion: !canMutateContent(item) || !item.project?.id || !item.version?.id,
hasUpdate: canUpdateProject(item),
}),
filterPersistKey: props.instance.id,