bugfix: read version from config.public.version instead of config.version
This commit is contained in:
parent
915c78dd58
commit
c86dc32335
@ -1,13 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="copyright-notice__version" @click="openInfoModal">
|
<div class="copyright-notice__version" @click="openInfoModal">
|
||||||
v{{ config.version }}, © 2021-2023, Settel
|
v{{ config.public.version }}, © 2021-2023, Settel
|
||||||
</div>
|
</div>
|
||||||
<InfoModal v-if="showInfoModal" @close="closeInfoModal" />
|
<InfoModal v-if="showInfoModal" @close="closeInfoModal" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useRuntimeConfig } from '#app'
|
import { useRuntimeConfig } from '#app'
|
||||||
import { ref } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
|
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user