X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FSonarr.vue;h=bb83b6b00a485055f747d934d51ef72b2ab94756;hb=b19f6f228b29a320e842d52700d6930386cca199;hp=55df43748ae73512055b3663f328717c0664fc54;hpb=2c52f45048f8f63d142366a8f5ec40eb66d3658a;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/Sonarr.vue b/src/components/services/Sonarr.vue index 55df437..bb83b6b 100644 --- a/src/components/services/Sonarr.vue +++ b/src/components/services/Sonarr.vue @@ -83,11 +83,7 @@ export default { } } } else { - for (const record of queue.records) { - if (record.seriesId) { - this.activity++; - } - } + this.activity = queue.totalRecords; } }) .catch((e) => {