fix: comment out unused VersionBadge import and siteVersion to fix TS build
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -151,7 +151,7 @@ import { computed, h, onMounted, ref, watch } from 'vue'
|
|||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
import { useAdminSettingsStore, useAppStore, useAuthStore, useOnboardingStore } from '@/stores'
|
import { useAdminSettingsStore, useAppStore, useAuthStore, useOnboardingStore } from '@/stores'
|
||||||
import VersionBadge from '@/components/common/VersionBadge.vue'
|
// import VersionBadge from '@/components/common/VersionBadge.vue' // disabled for TianShuAPI fork
|
||||||
import { sanitizeSvg } from '@/utils/sanitize'
|
import { sanitizeSvg } from '@/utils/sanitize'
|
||||||
|
|
||||||
interface NavItem {
|
interface NavItem {
|
||||||
@@ -178,7 +178,7 @@ const isDark = ref(document.documentElement.classList.contains('dark'))
|
|||||||
// Site settings from appStore (cached, no flicker)
|
// Site settings from appStore (cached, no flicker)
|
||||||
const siteName = computed(() => appStore.siteName)
|
const siteName = computed(() => appStore.siteName)
|
||||||
const siteLogo = computed(() => appStore.siteLogo)
|
const siteLogo = computed(() => appStore.siteLogo)
|
||||||
const siteVersion = computed(() => appStore.siteVersion)
|
// const siteVersion = computed(() => appStore.siteVersion) // disabled for TianShuAPI fork
|
||||||
const settingsLoaded = computed(() => appStore.publicSettingsLoaded)
|
const settingsLoaded = computed(() => appStore.publicSettingsLoaded)
|
||||||
|
|
||||||
// SVG Icon Components
|
// SVG Icon Components
|
||||||
|
|||||||
Reference in New Issue
Block a user