mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
New: UI Updates, Tag manager, More custom filters (#437)
* New: UI Updates, Tag manager, More custom filters * fixup! Fix ScanFixture Unit Tests * Fixed: Sentry Errors from UI don't have release, branch, environment * Changed: Bump Mobile Detect for New Device Detection * Fixed: Build on changes to package.json * fixup! Add MetadataProfile filter option * fixup! Tag Note, Blacklist, Manual Import * fixup: Remove connectSection * fixup: root folder comment
This commit is contained in:
@@ -15,8 +15,16 @@ function ArtistIndexFooter({ artist }) {
|
||||
let totalFileSize = 0;
|
||||
|
||||
artist.forEach((s) => {
|
||||
tracks += s.statistics.trackCount || 0;
|
||||
trackFiles += s.statistics.trackFileCount || 0;
|
||||
const { statistics = {} } = s;
|
||||
|
||||
const {
|
||||
trackCount = 0,
|
||||
trackFileCount = 0,
|
||||
sizeOnDisk = 0
|
||||
} = statistics;
|
||||
|
||||
tracks += trackCount;
|
||||
trackFiles += trackFileCount;
|
||||
|
||||
if (s.status === 'ended') {
|
||||
ended++;
|
||||
@@ -28,7 +36,7 @@ function ArtistIndexFooter({ artist }) {
|
||||
monitored++;
|
||||
}
|
||||
|
||||
totalFileSize += s.statistics.sizeOnDisk || 0;
|
||||
totalFileSize += sizeOnDisk;
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user