diff --git a/CHANGELOG.md b/CHANGELOG.md index 39f6715a574..c66a0f29329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Stream Key is now hidden _community pr!_ ([#7127](https://github.com/lbryio/lbry-desktop/pull/7127)) - Fix playlist preview thumbnail ([#7178](https://github.com/lbryio/lbry-desktop/pull/7178) - Fixed “Your Account” popup on mobile ([#7172](https://github.com/lbryio/lbry-desktop/pull/7172)) +- Fix disable-support for comments ([#7245](https://github.com/lbryio/lbry-desktop/pull/7245)) ## [0.51.2] - [2021-08-20] diff --git a/ui/component/commentCreate/index.js b/ui/component/commentCreate/index.js index 29108cc648e..07ea8e8765e 100644 --- a/ui/component/commentCreate/index.js +++ b/ui/component/commentCreate/index.js @@ -5,12 +5,14 @@ import { selectMyChannelClaims, selectFetchingMyChannels, doSendTip, + makeSelectTagInClaimOrChannelForUri, } from 'lbry-redux'; import { doCommentCreate, doFetchCreatorSettings, doCommentById } from 'redux/actions/comments'; import { selectActiveChannelClaim } from 'redux/selectors/app'; import { selectSettingsByChannelId } from 'redux/selectors/comments'; import { CommentCreate } from './view'; import { doToast } from 'redux/actions/notifications'; +import { DISABLE_SUPPORT_TAG } from 'constants/tags'; const select = (state, props) => ({ claim: makeSelectClaimForUri(props.uri)(state), @@ -19,6 +21,7 @@ const select = (state, props) => ({ activeChannelClaim: selectActiveChannelClaim(state), claimIsMine: makeSelectClaimIsMine(props.uri)(state), settingsByChannelId: selectSettingsByChannelId(state), + supportDisabled: makeSelectTagInClaimOrChannelForUri(props.uri, DISABLE_SUPPORT_TAG)(state), }); const perform = (dispatch, ownProps) => ({