fix: SAC version from /health in sidebar and dashboard (0.9.4)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user