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