flowtable: make sure rows are rendered on startup
This commit is contained in:
parent
3dffdc2261
commit
46aa7ae74c
|
@ -34,6 +34,10 @@ class FlowTable extends React.Component {
|
|||
window.addEventListener('resize', this.onViewportUpdate)
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.onViewportUpdate();
|
||||
}
|
||||
|
||||
UNSAFE_componentWillUnmount() {
|
||||
window.removeEventListener('resize', this.onViewportUpdate)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue