Add toast to artist append

This commit is contained in:
jeffvli
2021-09-30 20:54:52 -07:00
parent ac49142d64
commit c65a6e660f

View File

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