Browse Source

Add toast to artist append

master
jeffvli 3 years ago
parent
commit
c65a6e660f
  1. 4
      src/components/shared/ContextMenu.tsx

4
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) {

Loading…
Cancel
Save