diff --git a/web/src/routes/updates/+page.svelte b/web/src/routes/updates/+page.svelte index 2a8aa8f7..496cbda8 100644 --- a/web/src/routes/updates/+page.svelte +++ b/web/src/routes/updates/+page.svelte @@ -14,7 +14,10 @@ const changelogs = getAllChangelogs(); const versions = Object.keys(changelogs); - let changelog: Optional<{ version: string; page: Promise }>; + let changelog: Optional<{ + version: string; + page: Promise; + }>; let currentIndex = 0; { @@ -29,8 +32,8 @@ const version = versions[currentIndex]; changelog = { version, - page: changelogs[version]() as Promise - } + page: changelogs[version]() as Promise, + }; window.location.hash = version; await changelog.page; @@ -67,7 +70,7 @@ -
+
{#if changelog}
{#if prev} @@ -89,20 +92,24 @@ version={changelog.version} /> {/await} -
- - + +
+ {#if prev} + + {/if} + {#if next} + + {/if}
@@ -118,7 +125,7 @@ {/if}
{/if} -
+