diff --git a/ui/component/commentCreate/index.js b/ui/component/commentCreate/index.js index 5b03b84395..3ba1f5cc7a 100644 --- a/ui/component/commentCreate/index.js +++ b/ui/component/commentCreate/index.js @@ -24,6 +24,7 @@ import { selectCommentsDisabledSettingForChannelId, selectLivestreamChatMembersOnlyForChannelId, selectMembersOnlyCommentsForChannelId, + selectFetchingCreatorSettings, } from 'redux/selectors/comments'; import { getChannelIdFromClaim } from 'util/claim'; import { doOpenModal } from 'redux/actions/app'; @@ -63,6 +64,7 @@ const select = (state, props) => { claimIsMine: selectClaimIsMine(state, claim), hasChannels: selectHasChannels(state), isFetchingChannels: selectFetchingMyChannels(state), + isFetchingCreatorSettings: selectFetchingCreatorSettings(state), myChannelClaimIds: selectMyChannelClaimIds(state), myCommentedChannelIds: selectMyCommentedChannelIdsForId(state, claim?.claim_id), preferredCurrency: selectPreferredCurrency(state), diff --git a/ui/component/commentCreate/view.jsx b/ui/component/commentCreate/view.jsx index b04e4ac6da..0734b396ec 100644 --- a/ui/component/commentCreate/view.jsx +++ b/ui/component/commentCreate/view.jsx @@ -47,6 +47,7 @@ type Props = { claimIsMine: boolean, embed?: boolean, isFetchingChannels: boolean, + isFetchingCreatorSettings: boolean, isNested: boolean, isReply: boolean, isLivestream?: boolean, @@ -123,6 +124,7 @@ export function CommentCreate(props: Props) { embed, hasChannels, isFetchingChannels, + isFetchingCreatorSettings, isLivestream, isNested, isReply, @@ -186,6 +188,7 @@ export function CommentCreate(props: Props) { deletedComment || isSubmitting || isFetchingChannels || + isFetchingCreatorSettings || hasNothingToSumbit || disableInput; const minSuper = (channelSettings && channelSettings.min_tip_amount_super_chat) || 0;