mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix playTrackNext function in queue store
This commit is contained in:
committed by
Mungai Njoroge
parent
26ab972a8d
commit
bb95011dff
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user