web/settings: make version info optional, wait for load

This commit is contained in:
dumbmoron
2024-07-23 09:36:49 +00:00
parent 23c9eb73aa
commit 89181c6ddc
2 changed files with 4 additions and 10 deletions

View File

@@ -25,7 +25,7 @@
let screenWidth: number;
$: versionText = `v.${$version.version}-${$version.commit.slice(0, 7)}`;
$: versionText = $version ? `v${$version.version}-${$version.commit.slice(0, 8)}` : '\xa0';
$: currentPageTitle = $page.url.pathname.split("/").at(-1);
$: stringPageTitle =