fix: SAC version from /health in sidebar and dashboard (0.9.4)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-10 17:38:54 +10:00
parent 0a414a0904
commit 37bffe0e3f
5 changed files with 72 additions and 5 deletions
+10
View File
@@ -1,6 +1,7 @@
<template>
<div class="overview-page">
<h1>Обзор</h1>
<p class="dashboard-sac-version">{{ appName }} v.{{ appVersion }}</p>
<p v-if="error" class="error">{{ error }}</p>
@@ -305,8 +306,11 @@
import { onMounted, onUnmounted, ref } from "vue";
import { apiFetch, getToken, type DashboardSummary, type EventSummary } from "../api";
import { useSacVersion } from "../composables/useSacVersion";
import { formatServerName } from "../utils/hostDisplay";
const { appName, appVersion } = useSacVersion();
const data = ref<DashboardSummary | null>(null);
@@ -569,6 +573,12 @@ onUnmounted(() => {
}
.dashboard-sac-version {
margin: -0.35rem 0 1rem;
color: #9aa4b2;
font-size: 0.9rem;
}
.dash-recent-hint {
margin: -0.25rem 0 0.75rem;