1
0

chore: only use api version as it is coming from the same codebase

This commit is contained in:
kolaente
2024-02-08 23:13:20 +01:00
parent aab36eb89c
commit 4a66c2202f
6 changed files with 3 additions and 22 deletions

View File

@ -13,10 +13,7 @@
>
<div class="p-4">
<p>
{{ $t('about.frontendVersion', {version: frontendVersion}) }}
</p>
<p>
{{ $t('about.apiVersion', {version: apiVersion}) }}
{{ $t('about.version', {version: apiVersion}) }}
</p>
</div>
<template #footer>
@ -34,10 +31,8 @@
<script setup lang="ts">
import {computed} from 'vue'
import {VERSION} from '@/version.json'
import {useConfigStore} from '@/stores/config'
const configStore = useConfigStore()
const apiVersion = computed(() => configStore.version)
const frontendVersion = VERSION
</script>