diff --git a/openflare_server/web/features/nodes/utils.ts b/openflare_server/web/features/nodes/utils.ts index c45bc6bf..4977c112 100644 --- a/openflare_server/web/features/nodes/utils.ts +++ b/openflare_server/web/features/nodes/utils.ts @@ -1,9 +1,10 @@ import type { NodeItem } from '@/features/nodes/types'; export const WS_CONNECTED_LAST_SEEN = '__OPENFLARE_WS_CONNECTED__'; +export const FLARED_WS_CONNECTED_LAST_SEEN = '__OPENFLARE_FLARED_WS_CONNECTED__'; export function isWSConnectedLastSeen(value: string | null | undefined) { - return value === WS_CONNECTED_LAST_SEEN; + return value === WS_CONNECTED_LAST_SEEN || value === FLARED_WS_CONNECTED_LAST_SEEN; } export function isMeaningfulTime(value: string | null | undefined) {