]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/services/Sonarr.vue
Merge pull request #393 from jamesmacwhite/ping-endpoint-urls
[github/bastienwirtz/homer.git] / src / components / services / Sonarr.vue
index 55df43748ae73512055b3663f328717c0664fc54..bb83b6b00a485055f747d934d51ef72b2ab94756 100644 (file)
@@ -83,11 +83,7 @@ export default {
               }
             }
           } else {
-            for (const record of queue.records) {
-              if (record.seriesId) {
-                this.activity++;
-              }
-            }
+            this.activity = queue.totalRecords;
           }
         })
         .catch((e) => {