|
@@ -271,10 +271,12 @@ export default {
|
|
|
for (let y = 0; y < this.soundList[x].subjects.length; y++) {
|
|
|
// console.log(this.soundList[x].subjects[y].id)
|
|
|
for (let z = 0; z < this.activeSoundList.length; z++) {
|
|
|
+ // console.log(this.soundList[x].subjects, y)
|
|
|
if (this.soundList[x].subjects[y].id == this.activeSoundList[z].id) {
|
|
|
this.soundList[x].subjects.splice(y, 1)
|
|
|
// this.soundList[x].subjects[y] = null
|
|
|
y--
|
|
|
+ if (y < 0) y = 0
|
|
|
}
|
|
|
}
|
|
|
}
|