diff --git a/client/src/components/Dashboard/index.js b/client/src/components/Dashboard/index.js
index 5b02f199..28bee848 100644
--- a/client/src/components/Dashboard/index.js
+++ b/client/src/components/Dashboard/index.js
@@ -13,10 +13,14 @@ import Loading from '../ui/Loading';
class Dashboard extends Component {
componentDidMount() {
+ this.getAllStats();
+ }
+
+ getAllStats = () => {
this.props.getStats();
this.props.getStatsHistory();
this.props.getTopStats();
- }
+ };
render() {
const { dashboard } = this.props;
@@ -26,8 +30,8 @@ class Dashboard extends Component {
dashboard.processingStatsHistory ||
dashboard.processingTopStats;
- const refreshFullButton = ;
- const refreshButton = ;
+ const refreshFullButton = ;
+ const refreshButton =
{queryLogEnabled &&
- }
+
+ }
+ {queryLogEnabled &&
+
+ }
);
}