fix playing from album bug when there's inconsistent discs

~ eg. when there's no disc 1, but there's disc 2, or 3
This commit is contained in:
geoffrey45
2022-12-24 17:26:03 +03:00
committed by Mungai Njoroge
parent 7f0fe88c43
commit c52390117e
6 changed files with 17 additions and 49 deletions
-1
View File
@@ -46,7 +46,6 @@ export default defineStore("Queue", {
play(index: number = 0) {
if (this.tracklist.length === 0) return;
this.currentindex = index;
console.log(this.tracklist.length);
if (!this.mousover) {
this.queueScrollFunction(this.currentindex - 1);