Skip to content

Commit

Permalink
Do not show redundant "not synced yet" status
Browse files Browse the repository at this point in the history
  • Loading branch information
zahardev committed Sep 11, 2024
1 parent 72acb04 commit cc1bc35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/EpisodeSyncStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cc1bc35

Please sign in to comment.