add hack to fix timeline not showing

This commit is contained in:
Lachlan Kermode
2020-06-26 11:28:28 +02:00
parent c1863fba07
commit 41d9dc99d4

View File

@@ -45,6 +45,9 @@ class Dashboard extends React.Component {
}
})
}
// NOTE: hack to get the timeline to always show. Not entirely sure why
// this is necessary.
window.dispatchEvent(new Event('resize'))
}
handleHighlight (highlighted) {