From b49c73de3eded0a39091b24ef638e786500a2d7b Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 28 May 2024 16:28:09 +0100 Subject: fix(ui): handle being logged out gracefully (#2052) * fix(ui): handle being logged out gracefully * use settings.logged_in --- ui/src/state/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/src/state/models.ts') diff --git a/ui/src/state/models.ts b/ui/src/state/models.ts index 193b994d..57db44ae 100644 --- a/ui/src/state/models.ts +++ b/ui/src/state/models.ts @@ -11,7 +11,7 @@ export const DefaultUser: User = { export interface HomeInfo { historyCount: number; recordCount: number; - lastSyncTime: Date; + lastSyncTime: Date | null; } export const DefaultHomeInfo: HomeInfo = { -- cgit v1.3.1