diff --git a/frontend/my/src/Dashboard.js b/frontend/my/src/Dashboard.js index 7a3da08..f899e64 100644 --- a/frontend/my/src/Dashboard.js +++ b/frontend/my/src/Dashboard.js @@ -104,10 +104,15 @@ class Dashboard extends React.PureComponent { - { this.campaignTypes.map((key, count) => + { this.campaignTypes.map((key) =>

{ key }

-

{ count }

+ +

+ { this.state.stats.campaigns.hasOwnProperty(key) ? + this.state.stats.campaigns[key] : 0 } +

+
)}