From 192bf12a0e43a7ba83ebc5efb480575ebb2886fa Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Sun, 28 Jun 2020 01:34:19 +0800 Subject: [PATCH] refresh youtube creator status when switching between channels Issue 3750 --- CHANGELOG.md | 1 + ui/page/channel/view.jsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e16e320ad..eff7cabd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix report page layout ([#4384](https://github.com/lbryio/lbry-desktop/pull/4384)) - Fix language-change not applied to components immediately _community pr!_ ([#4437](https://github.com/lbryio/lbry-desktop/pull/4437)) +- Fix incorrect creator status shown when navigating between channels _community pr!_ ([#4438](https://github.com/lbryio/lbry-desktop/pull/4438)) ## [0.46.2] - [2020-06-10] diff --git a/ui/page/channel/view.jsx b/ui/page/channel/view.jsx index 6b2968ef8..33d99f37b 100644 --- a/ui/page/channel/view.jsx +++ b/ui/page/channel/view.jsx @@ -110,6 +110,8 @@ function ChannelPage(props: Props) { Lbryio.call('yt', 'get_youtuber', { channel_claim_id: claimId }).then(response => { if (response.is_verified_youtuber) { setLastYtSyncDate(response.last_synced); + } else { + setLastYtSyncDate(undefined); } }); }, [claimId]);