From c8c290e7f7e56d422cacacef1a069ded676c3d9b Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Wed, 5 Aug 2020 23:34:30 +0800
Subject: Fix a bug.

---
 Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx')

diff --git a/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx b/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
index 56a41f95..edb9564a 100644
--- a/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
+++ b/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
@@ -54,7 +54,7 @@ export default function TimelinePageTemplate<TManageItem>(
     if (timelineState != null) {
       const { syncState, timeline } = timelineState;
       if (syncState === 'offline' && timeline == null) return 'Network Error';
-      if (syncState !== 'offline' && timeline == null)
+      if (syncState === 'synced' && timeline == null)
         return t(props.notFoundI18nKey);
     }
     return undefined;
-- 
cgit v1.2.3

