fix: exclude resolved problems from new-in-24h metrics (0.9.7)

Dashboard and created_within_hours list only show open/acknowledged problems
created in the last 24 hours; closed items appear under resolved only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-06-11 10:24:12 +10:00
parent 3f671b9899
commit fed21c536b
7 changed files with 45 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/** Fallback до загрузки /health; при релизе держите в sync с backend/app/version.py */
export const APP_NAME = "Security Alert Center";
export const APP_VERSION = "0.9.6";
export const APP_VERSION = "0.9.7";
export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`;
+1 -1
View File
@@ -113,7 +113,7 @@ const actingId = ref<number | null>(null);
const timeFilterHint = computed(() => {
if (createdWithinHours.value) {
return `Показаны проблемы, созданные за последние ${createdWithinHours.value} ч (любой статус).`;
return `Показаны активные проблемы, созданные за последние ${createdWithinHours.value} ч (без закрытых).`;
}
if (resolvedWithinHours.value) {
return `Показаны проблемы, закрытые за последние ${resolvedWithinHours.value} ч.`;