diff options
Diffstat (limited to 'src/components/services')
-rw-r--r-- | src/components/services/Radarr.vue | 6 | ||||
-rw-r--r-- | src/components/services/Sonarr.vue | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/components/services/Radarr.vue b/src/components/services/Radarr.vue index 7573667..5c40aaa 100644 --- a/src/components/services/Radarr.vue +++ b/src/components/services/Radarr.vue | |||
@@ -83,11 +83,7 @@ export default { | |||
83 | } | 83 | } |
84 | } | 84 | } |
85 | } else { | 85 | } else { |
86 | for (const record of queue.records) { | 86 | this.activity = queue.totalRecords; |
87 | if (record.movieId) { | ||
88 | this.activity++; | ||
89 | } | ||
90 | } | ||
91 | } | 87 | } |
92 | }) | 88 | }) |
93 | .catch((e) => { | 89 | .catch((e) => { |
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 { | |||
83 | } | 83 | } |
84 | } | 84 | } |
85 | } else { | 85 | } else { |
86 | for (const record of queue.records) { | 86 | this.activity = queue.totalRecords; |
87 | if (record.seriesId) { | ||
88 | this.activity++; | ||
89 | } | ||
90 | } | ||
91 | } | 87 | } |
92 | }) | 88 | }) |
93 | .catch((e) => { | 89 | .catch((e) => { |