From c65a6e660fa3da95d69d209bb81d9b2c1e2fdded Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 30 Sep 2021 20:54:52 -0700 Subject: [PATCH] Add toast to artist append --- src/components/shared/ContextMenu.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/shared/ContextMenu.tsx b/src/components/shared/ContextMenu.tsx index 1b1abbe..d6565e9 100644 --- a/src/components/shared/ContextMenu.tsx +++ b/src/components/shared/ContextMenu.tsx @@ -141,7 +141,9 @@ export const GlobalContextMenu = () => { } const res = await Promise.all(promises); - dispatch(appendPlayQueue({ entries: _.flatten(res) })); + const songs = _.flatten(res); + dispatch(appendPlayQueue({ entries: songs })); + notifyToast('info', `Added ${songs.length} song(s) to the queue`); } if (playQueue.entry.length < 1 || playQueue.currentPlayer === 1) {