fix popup

This commit is contained in:
zeppi 2021-06-16 10:49:10 -04:00
parent f77853a0be
commit 33ad7e026f
3 changed files with 2 additions and 5 deletions

View file

@ -76,7 +76,6 @@ type Props = {
releaseTime?: string, releaseTime?: string,
hideLivestreamClaims?: boolean, hideLivestreamClaims?: boolean,
isChannel?: boolean, isChannel?: boolean,
// channelIsMine?: boolean, //CHECK
empty?: string, empty?: string,
}; };
@ -135,7 +134,6 @@ function ClaimListDiscover(props: Props) {
livestreamMap, livestreamMap,
hasSource, hasSource,
isChannel = false, isChannel = false,
// channelIsMine = false, //RBCHECK that ClaimList handles this
hideLivestreamClaims, hideLivestreamClaims,
empty, empty,
} = props; } = props;

View file

@ -188,8 +188,8 @@ function ClaimMenuList(props: Props) {
</MenuButton> </MenuButton>
<MenuList className="menu__list"> <MenuList className="menu__list">
{/* WATCH LATER */} {/* WATCH LATER */}
{isPlayable && !collectionId && (
<> <>
{isPlayable && !collectionId && (
<MenuItem <MenuItem
className="comment__menu-option" className="comment__menu-option"
onSelect={() => { onSelect={() => {
@ -210,6 +210,7 @@ function ClaimMenuList(props: Props) {
{hasClaimInWatchLater ? __('In Watch Later') : __('Watch Later')} {hasClaimInWatchLater ? __('In Watch Later') : __('Watch Later')}
</div> </div>
</MenuItem> </MenuItem>
)}
{/* COLLECTION OPERATIONS */} {/* COLLECTION OPERATIONS */}
{collectionId && collectionName && isCollectionClaim && ( {collectionId && collectionName && isCollectionClaim && (
<> <>
@ -254,7 +255,6 @@ function ClaimMenuList(props: Props) {
</MenuItem> </MenuItem>
)} )}
</> </>
)}
{!isChannelPage && ( {!isChannelPage && (
<> <>
<hr className="menu__separator" /> <hr className="menu__separator" />

View file

@ -217,7 +217,6 @@ function ClaimPreviewTile(props: Props) {
<UriIndicator uri={uri} /> <UriIndicator uri={uri} />
</div> </div>
)} )}
{/* CHECK CLAIM MENU LIST PARAMS (IS REPOST?) */}
<ClaimMenuList uri={uri} collectionId={listId} channelUri={channelUri} isRepost={isRepost} /> <ClaimMenuList uri={uri} collectionId={listId} channelUri={channelUri} isRepost={isRepost} />
</h2> </h2>
</NavLink> </NavLink>