Commit 3f45f07
authored
fix: Embed-widget with multiple panels not showing panel headers (#2064)
This should fix embed-widget not showing the panel headers when there
are multiple panels in a widget, but it's not a dashboard.
The issue is embed-widget is loading the layout from `dashboardData` and
the `DEFAULT_DASHBOARD_ID` stores its data in `workspaceData` while all
other IDs use `dashboardData`.
Tested with widget with just 1 panel, widget with multiple panels, and
widget that is a dashboard.1 parent 1bbcc73 commit 3f45f07
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
0 commit comments