Merge pull request #380 from FinalDoom/main

Change Radarr/Sonarr v3 to use totalRecords
This commit is contained in:
Bastien Wirtz 2022-02-19 09:10:19 +01:00 committed by GitHub
commit 5cd802d157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -83,11 +83,7 @@ export default {
} }
} }
} else { } else {
for (const record of queue.records) { this.activity = queue.totalRecords;
if (record.movieId) {
this.activity++;
}
}
} }
}) })
.catch((e) => { .catch((e) => {

View File

@ -83,11 +83,7 @@ export default {
} }
} }
} else { } else {
for (const record of queue.records) { this.activity = queue.totalRecords;
if (record.seriesId) {
this.activity++;
}
}
} }
}) })
.catch((e) => { .catch((e) => {