Merge pull request 'feature/56-footer-version-loading' (#57) from feature/56-footer-version-loading into dev
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #57
close #56
This commit is contained in:
Philipp Dormann 2021-01-30 15:33:24 +00:00
commit ef50e2d5ce

View File

@ -1,12 +1,13 @@
<script>
import { onMount } from "svelte";
import { _ } from "svelte-i18n";
$: releaseinfo = "";
setTimeout(() => {
onMount(() => {
releaseinfo = document
.getElementById("buildinfo")
.textContent.replace("RELEASE_INFO-", "")
.replace("-RELEASE_INFO", "");
}, 1500);
});
const year = new Date().getFullYear();
</script>