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:
@@ -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}`;
|
||||
|
||||
@@ -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} ч.`;
|
||||
|
||||
Reference in New Issue
Block a user