diff --git a/frontend/src/js/component/wb-process-dashboard.js b/frontend/src/js/component/wb-process-dashboard.js
index 4ca2513..a251d95 100644
--- a/frontend/src/js/component/wb-process-dashboard.js
+++ b/frontend/src/js/component/wb-process-dashboard.js
@@ -117,21 +117,32 @@ class WBProcessDashboard extends Component {
}
componentDidMount() {
- this.fetchData();
+ if (!this.props.lazy)
+ this.fetchData();
}
componentWillReceiveProps(nextProps) {
if (nextProps.parentProcessUuid === this.props.parentProcessUuid)
return;
+ if (this.props.lazy) {
+ this.setState({ rows: Array(5).fill(Array(6).fill('-')) });
+ return;
+ }
+
this.props = nextProps;
this.fetchData();
}
- render({}, { rows }) {
+ render({ lazy }, { rows }) {
return (
-