mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-16 13:19:49 +01:00
Merge pull request #380 from FinalDoom/main
Change Radarr/Sonarr v3 to use totalRecords
This commit is contained in:
@@ -83,11 +83,7 @@ export default {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (const record of queue.records) {
|
||||
if (record.movieId) {
|
||||
this.activity++;
|
||||
}
|
||||
}
|
||||
this.activity = queue.totalRecords;
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
|
||||
@@ -83,11 +83,7 @@ export default {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (const record of queue.records) {
|
||||
if (record.seriesId) {
|
||||
this.activity++;
|
||||
}
|
||||
}
|
||||
this.activity = queue.totalRecords;
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
|
||||
Reference in New Issue
Block a user