Make sure config and version are loaded before app runs to avoid null checks.

This commit is contained in:
baldo 2022-08-24 23:46:56 +02:00
parent 0bbb2113e9
commit dcfaae7955
10 changed files with 38 additions and 31 deletions
frontend/src/components/page

View file

@ -7,7 +7,7 @@ const versionStore = useVersionStore();
</script>
<template>
<footer v-if="configStore.getConfig">
<footer>
ffffng ({{ versionStore.getVersion }})
<a href="https://github.com/freifunkhamburg/ffffng" target="_blank">
<i class="fa fa-code" aria-hidden="true" /> Source Code

View file

@ -6,7 +6,7 @@ const configStore = useConfigStore();
</script>
<template>
<header v-if="configStore.getConfig">
<header>
<nav>
<RouterLink class="logo" :to="route(RouteName.HOME)">
<img