bugfix: read version from config.public.version instead of config.version

This commit is contained in:
Settel 2023-06-18 15:27:46 +02:00
parent 915c78dd58
commit c86dc32335

View File

@ -1,13 +1,13 @@
<template>
<div class="copyright-notice__version" @click="openInfoModal">
v{{ config.version }}, © 2021-2023, Settel
v{{ config.public.version }}, © 2021-2023, Settel
</div>
<InfoModal v-if="showInfoModal" @close="closeInfoModal" />
</template>
<script setup lang="ts">
import { useRuntimeConfig } from '#app'
import { ref } from 'vue'
import { ref, computed } from 'vue'
const config = useRuntimeConfig()