Skip to content

Commit

Permalink
feat: include version in settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jul 10, 2022
1 parent 1a5f871 commit 4348c8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
</div>
</main>

<span class='block text-xs text-gray-300 py-4'>
v{{ app_version }}
</span>

<footer class="absolute inset-x-0 bottom-0 p-2 text-center">
<NuxtLink to="/usage" class="text-sm link"> What does X do? </NuxtLink>
</footer>
Expand All @@ -75,6 +79,7 @@

<script>
import { mapGetters } from 'vuex'
import { version } from '~/package.json'
export default {
head() {
Expand All @@ -90,6 +95,10 @@ export default {
}
},
data() {
return { app_version: version }
},
computed: {
...mapGetters('user', ['getUserSettings']),
},
Expand Down

0 comments on commit 4348c8e

Please sign in to comment.