diff --git a/assets/js/dashboard/filters.js b/assets/js/dashboard/filters.js index db2a57c36..55eabf9d8 100644 --- a/assets/js/dashboard/filters.js +++ b/assets/js/dashboard/filters.js @@ -127,6 +127,8 @@ function Filters(props) { const [viewport, setViewport] = useState(1080) useEffect(() => { + handleResize() + window.addEventListener('resize', handleResize, false) document.addEventListener('keyup', handleKeyup)