fix: skip alerts for hidden event types, show them on host card (0.4.7)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-06-29 15:16:10 +10:00
parent 606bf53019
commit daeb7e965d
8 changed files with 120 additions and 5 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.4.6";
export const APP_VERSION = "0.4.7";
export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`;
+1
View File
@@ -796,6 +796,7 @@ async function loadEvents(page = 1) {
page: String(page),
page_size: String(eventsPageSize),
host_id: String(hostId.value),
include_hidden: "true",
});
events.value = await apiFetch<EventListResponse>(`/api/v1/events?${params}`);
} catch (e) {