diff --git a/src/components/Charts/NumberInfo/index.js b/src/components/Charts/NumberInfo/index.js index 2f467ee3cfb1a7909a4e57db2be7c147ebc77680..bdcba7f5954f16f13623e07b503a2cc7f598f97f 100644 --- a/src/components/Charts/NumberInfo/index.js +++ b/src/components/Charts/NumberInfo/index.js @@ -13,12 +13,13 @@ export default ({ theme, title, subTitle, total, subTotal, status, suffix, ...re } {...rest} > - { - title &&

{title}

- } -
{subTitle}
+ {title &&

{title}

} + {subTitle &&
{subTitle}
}
- {total}{suffix && {suffix}} + + {total} + {suffix && {suffix}} + { (status || subTotal) && (