fix: show RDS break only on active or flap 302 events (0.3.4)

Hide Obryv RDS on 303 and on 302 after normal session end; keep for open sessions and RDG flap.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-06-22 20:15:47 +10:00
parent fbd213f323
commit 8b52c5fe3c
10 changed files with 183 additions and 36 deletions
+2 -4
View File
@@ -13,10 +13,8 @@ export function rdgAccessPathLabel(event: EventSummary): string {
}
export function rdgQwinstaEventId(event: EventSummary): number | null {
if (event.rdg_flap_qwinsta_event_id) return event.rdg_flap_qwinsta_event_id;
if (event.rdg_qwinsta_enabled) return event.id;
if (event.rdg_flap) return event.id;
return null;
if (!event.rdg_qwinsta_enabled) return null;
return event.rdg_flap_qwinsta_event_id ?? event.id;
}
/** @deprecated use rdgQwinstaEventId */
+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.3.3";
export const APP_VERSION = "0.3.4";
export const APP_VERSION_LABEL = `${APP_NAME} v.${APP_VERSION}`;