📉 Added a comicinfo.xml stat data point

This commit is contained in:
2022-02-28 13:57:25 -08:00
parent ffb5d73ab8
commit 6094c2489c

View File

@@ -72,10 +72,23 @@ export const Dashboard = (): ReactElement => {
tagged with ComicVine
</dd>
)}
<dd className="is-size-6">
<span className="has-text-weight-bold">1304</span> with
custom metadata
</dd>
{!isUndefined(libraryStatistics.statistics) &&
!isEmpty(
libraryStatistics.statistics[0].issuesWithComicInfoXML,
) && (
<dd className="is-size-6">
<span className="has-text-weight-bold">
{
libraryStatistics.statistics[0]
.issuesWithComicInfoXML.length
}
</span>{" "}
with
<span className="tag is-warning has-text-weight-bold mr-2 ml-1">
ComicInfo.xml
</span>
</dd>
)}
</dl>
</div>