diff options
Diffstat (limited to 'ui/src/pages/Home.tsx')
| -rw-r--r-- | ui/src/pages/Home.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/pages/Home.tsx b/ui/src/pages/Home.tsx index ce42e0b1..93f2bf93 100644 --- a/ui/src/pages/Home.tsx +++ b/ui/src/pages/Home.tsx @@ -68,7 +68,10 @@ export default function Home() { stats={[ { name: "Last Sync", - stat: formatRelative(homeInfo.lastSyncTime, new Date()), + stat: + (homeInfo.lastSyncTime && + formatRelative(homeInfo.lastSyncTime, new Date())) || + "Never", }, { name: "Total history records", |
