Do not allow to add non playable items in playlists yet.
This commit is contained in:
parent
8a9af7d354
commit
d69eeaa589
1 changed files with 36 additions and 36 deletions
|
@ -340,9 +340,9 @@ function ClaimMenuList(props: Props) {
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
isPlayable && (
|
||||||
<>
|
<>
|
||||||
{/* WATCH LATER */}
|
{/* WATCH LATER */}
|
||||||
{isPlayable && (
|
|
||||||
<MenuItem
|
<MenuItem
|
||||||
className="comment__menu-option"
|
className="comment__menu-option"
|
||||||
onSelect={() => handleAdd(hasClaimInWatchLater, __('Watch Later'), COLLECTIONS_CONSTS.WATCH_LATER_ID)}
|
onSelect={() => handleAdd(hasClaimInWatchLater, __('Watch Later'), COLLECTIONS_CONSTS.WATCH_LATER_ID)}
|
||||||
|
@ -352,7 +352,6 @@ function ClaimMenuList(props: Props) {
|
||||||
{hasClaimInWatchLater ? __('In Watch Later') : __('Watch Later')}
|
{hasClaimInWatchLater ? __('In Watch Later') : __('Watch Later')}
|
||||||
</div>
|
</div>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
|
||||||
{/* FAVORITES LIST */}
|
{/* FAVORITES LIST */}
|
||||||
<MenuItem
|
<MenuItem
|
||||||
className="comment__menu-option"
|
className="comment__menu-option"
|
||||||
|
@ -391,6 +390,7 @@ function ClaimMenuList(props: Props) {
|
||||||
)}
|
)}
|
||||||
<hr className="menu__separator" />
|
<hr className="menu__separator" />
|
||||||
</>
|
</>
|
||||||
|
)
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
{!isChannelPage && (
|
{!isChannelPage && (
|
||||||
|
|
Loading…
Reference in a new issue