Make sure config and version are loaded before app runs to avoid null checks.
This commit is contained in:
parent
0bbb2113e9
commit
dcfaae7955
10 changed files with 38 additions and 31 deletions
frontend/src/components/page
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@ const configStore = useConfigStore();
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<header v-if="configStore.getConfig">
|
||||
<header>
|
||||
<nav>
|
||||
<RouterLink class="logo" :to="route(RouteName.HOME)">
|
||||
<img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue