Fixed #82: Basic instance states are now available on /about

This commit is contained in:
Eliot Berriot 2018-02-27 22:38:55 +01:00
parent c89212379d
commit d875f0d070
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
7 changed files with 259 additions and 0 deletions

View file

@ -6,6 +6,7 @@
<template v-if="instance.name.value">About {{ instance.name.value }}</template>
<template v-else="instance.name.value">About this instance</template>
</h1>
<stats></stats>
</div>
</div>
<div class="ui vertical stripe segment">
@ -27,8 +28,12 @@
<script>
import {mapState} from 'vuex'
import Stats from '@/components/instance/Stats'
export default {
components: {
Stats
},
created () {
this.$store.dispatch('instance/fetchSettings')
},