Merge pull request #592 from openreplay/fix-dashboards
fix(ui): fix dashbaord selector
This commit is contained in:
commit
24fffbb9c2
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ function DashboardView(props: Props) {
|
|||
trimQuery();
|
||||
}
|
||||
}, []);
|
||||
useEffect(() => {
|
||||
dashboardStore.selectDefaultDashboard();
|
||||
}, [siteId])
|
||||
|
||||
const onAddWidgets = () => {
|
||||
dashboardStore.initDashboard(dashboard);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue