forked from extern/homer
Change Radarr/Sonarr v3 to use totalRecords as counting paged records is
wrong number
This commit is contained in:
parent
893690cf95
commit
c6ec28f1c5
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user