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
@@ -7,7 +7,7 @@ export interface D<T = string> {
const domains: D = {
local: "http://localhost:",
remote: "http://10.16.22.240:",
remote: "http://10.10.219.196:",
};
const ports = {
+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;
}