diff --git a/ui/modal/modalPublishPreview/view.jsx b/ui/modal/modalPublishPreview/view.jsx index 4f2342066..c58b99f4e 100644 --- a/ui/modal/modalPublishPreview/view.jsx +++ b/ui/modal/modalPublishPreview/view.jsx @@ -13,6 +13,7 @@ import ChannelThumbnail from 'component/channelThumbnail'; import * as ICONS from 'constants/icons'; import Icon from 'component/common/icon'; import { NO_FILE } from 'redux/actions/publish'; +import { INTERNAL_TAGS } from 'constants/tags'; type Props = { filePath: string | WebFile, @@ -200,9 +201,11 @@ const ModalPublishPreview = (props: Props) => {

{licenseType}

); + const visibleTags = tags.filter((tag) => !INTERNAL_TAGS.includes(tag.name)); + const tagsValue = // Do nothing for onClick(). Setting to 'null' results in "View Tag" action -- we don't want to leave the modal. - tags.map((tag) => {}} />); + visibleTags.map((tag) => {}} />); const depositValue = bid ? :

---

; diff --git a/ui/redux/selectors/claims.js b/ui/redux/selectors/claims.js index cec63c76b..9e6db9fe2 100644 --- a/ui/redux/selectors/claims.js +++ b/ui/redux/selectors/claims.js @@ -333,6 +333,9 @@ export const makeSelectMetadataForUri = (uri: string) => export const makeSelectMetadataItemForUri = (uri: string, key: string) => createSelector(makeSelectMetadataForUri(uri), (metadata: ChannelMetadata | StreamMetadata) => { + if (key === 'tags') { + return metadata.tags ? metadata.tags.filter((tag) => !INTERNAL_TAGS.includes(tag)) : []; + } return metadata ? metadata[key] : undefined; });