remove
This commit is contained in:
parent
18cc0fabef
commit
c428335a56
1 changed files with 2 additions and 2 deletions
|
@ -822,9 +822,9 @@ export class Player extends EventEmitter {
|
|||
queue.tracks = queue.tracks.filter((t) => t !== trackFound);
|
||||
}
|
||||
} else {
|
||||
trackFound = queue.tracks.find((s) => s === track);
|
||||
trackFound = queue.tracks.find((s) => s.url === track.url);
|
||||
if (trackFound) {
|
||||
queue.tracks = queue.tracks.filter((s) => s !== trackFound);
|
||||
queue.tracks = queue.tracks.filter((s) => s.url !== trackFound.url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue