Skip to content

High performance self-hosted photo and video management solution.

docs: add-hash #15860 follow-up (#15988)

Nicholas Flamy4cad23aaa37a
diff --git a/docs/src/components/version-switcher.tsx b/docs/src/components/version-switcher.tsx
index 5f7e1c807f..c02ad444c8 100644
--- a/docs/src/components/version-switcher.tsx
+++ b/docs/src/components/version-switcher.tsx
@@ -49,7 +49,7 @@ export default function VersionSwitcher(): JSX.Element {
mobile={windowSize === 'mobile'}
items={versions.map(({ label, url }) => ({
label,
- to: url + location.pathname,
+ to: url + location.pathname + location.hash,
target: '_self',
}))}
/>