From 2c3681f8043b9199410ac43d8c20c7af99202d0c Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Sat, 18 Jun 2022 20:38:14 +1200 Subject: [PATCH] Only showing library context menu for Spotify --- .../ContextMenu/ContextMenuItems.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/js/components/ContextMenu/ContextMenuItems.js b/src/js/components/ContextMenu/ContextMenuItems.js index cc141c49..738c5ddc 100644 --- a/src/js/components/ContextMenu/ContextMenuItems.js +++ b/src/js/components/ContextMenu/ContextMenuItems.js @@ -94,8 +94,12 @@ const ContextMenuItems = ({ <> - - + {item.provider === 'spotify' && ( + <> + + + + )} @@ -112,7 +116,7 @@ const ContextMenuItems = ({ - + {item.provider === 'spotify' && } {item.user && ( @@ -210,6 +214,15 @@ const ContextMenuItems = ({ ); } + case 'playlist_group': + case 'mood': + case 'category': { + return ( + <> + + + ); + } default: { return ( <>