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