fix playTrackNext function in queue store

This commit is contained in:
geoffrey45
2022-12-06 17:42:09 +03:00
committed by Mungai Njoroge
parent 26ab972a8d
commit bb95011dff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ export default defineStore("Queue", {
const next: Track = this.tracklist[nextindex];
// if track is already next, skip
if (next?.id === track.id) {
if (next?.trackhash === track.trackhash) {
Toast.showNotification("Track is already queued", NotifType.Info);
return;
}