From cc1bc35105f2089a572091749241a6340b5fa516 Mon Sep 17 00:00:00 2001 From: Serhiy Zakharchenko Date: Tue, 10 Sep 2024 21:28:49 +0100 Subject: [PATCH] Do not show redundant "not synced yet" status --- src/components/EpisodeSyncStatus.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/EpisodeSyncStatus.js b/src/components/EpisodeSyncStatus.js index 5b532471..fdc3aa63 100644 --- a/src/components/EpisodeSyncStatus.js +++ b/src/components/EpisodeSyncStatus.js @@ -26,6 +26,9 @@ const EpisodeSyncStatus = () => { if (updatedPost && updatedPost[ 'episode_data' ]) { let syncStatus = updatedPost[ 'episode_data' ].syncStatus + if ( 'none' === syncStatus.status ) { + return; // Do not show redundant "Not Synced yet" status. + } displayNotice(syncStatus) updateSyncStatus(syncStatus) }