From 6094c2489ce2748c9d726b9652908e14d7f9ff6e Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 28 Feb 2022 13:57:25 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=89=20Added=20a=20comicinfo.xml=20stat?= =?UTF-8?q?=20data=20point?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/Dashboard/Dashboard.tsx | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/client/components/Dashboard/Dashboard.tsx b/src/client/components/Dashboard/Dashboard.tsx index 5b3a19c..898a7f6 100644 --- a/src/client/components/Dashboard/Dashboard.tsx +++ b/src/client/components/Dashboard/Dashboard.tsx @@ -72,10 +72,23 @@ export const Dashboard = (): ReactElement => { tagged with ComicVine )} -
- 1304 with - custom metadata -
+ {!isUndefined(libraryStatistics.statistics) && + !isEmpty( + libraryStatistics.statistics[0].issuesWithComicInfoXML, + ) && ( +
+ + { + libraryStatistics.statistics[0] + .issuesWithComicInfoXML.length + } + {" "} + with + + ComicInfo.xml + +
+ )}