diff --git a/web/src/js/components/FlowTable.jsx b/web/src/js/components/FlowTable.jsx index 45f12e9d3..3dc3e4b40 100644 --- a/web/src/js/components/FlowTable.jsx +++ b/web/src/js/components/FlowTable.jsx @@ -34,6 +34,10 @@ class FlowTable extends React.Component { window.addEventListener('resize', this.onViewportUpdate) } + componentDidMount() { + this.onViewportUpdate(); + } + UNSAFE_componentWillUnmount() { window.removeEventListener('resize', this.onViewportUpdate) }