minor fixes

This commit is contained in:
Sean Yesmunt 2019-12-09 10:16:49 -05:00
parent e33cf45375
commit fa0fce0291
3 changed files with 8 additions and 3 deletions

View file

@ -902,5 +902,9 @@
"Reach out to hello@lbry.com for help, or check out %help_link%.": "Reach out to hello@lbry.com for help, or check out %help_link%.", "Reach out to hello@lbry.com for help, or check out %help_link%.": "Reach out to hello@lbry.com for help, or check out %help_link%.",
"You're not following any tags. Smash that %customize% button!": "You're not following any tags. Smash that %customize% button!", "You're not following any tags. Smash that %customize% button!": "You're not following any tags. Smash that %customize% button!",
"customize": "customize", "customize": "customize",
"An upgrade is available.": "An upgrade is available." "An upgrade is available.": "An upgrade is available.",
"You're not following any tags. Add tags above or smash that %customize% button!": "You're not following any tags. Add tags above or smash that %customize% button!",
"New Channel": "New Channel",
"ChannelName": "ChannelName",
"Pending...": "Pending..."
} }

View file

@ -32,3 +32,4 @@ export const WALLET_PASSWORD_UNSAVE = 'wallet_password_unsave';
export const WALLET_SEND = 'wallet_send'; export const WALLET_SEND = 'wallet_send';
export const WALLET_RECEIVE = 'wallet_receive'; export const WALLET_RECEIVE = 'wallet_receive';
export const CREATE_CHANNEL = 'create_channel'; export const CREATE_CHANNEL = 'create_channel';
export const YOUTUBE_WELCOME = 'youtube_welcome';

View file

@ -18,7 +18,7 @@ type Props = {
export default function ChannelsPage(props: Props) { export default function ChannelsPage(props: Props) {
const { channels, fetchChannelListMine, fetchingChannels, youtubeChannels, openModal } = props; const { channels, fetchChannelListMine, fetchingChannels, youtubeChannels, openModal } = props;
const hasYoutubeChannels = youtubeChannels && Boolean(youtubeChannels.length); const hasYoutubeChannels = youtubeChannels && Boolean(youtubeChannels.length);
const hasPendingChannels = channels && channels.some(channel => channel.confirmations === -1); const hasPendingChannels = channels && channels.some(channel => channel.confirmations < 0);
useEffect(() => { useEffect(() => {
fetchChannelListMine(); fetchChannelListMine();