Skip to content

Commit

Permalink
Fix scroll on embedded dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpgreen2 committed Jan 28, 2024
1 parent c57088c commit 764d280
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web-admin/src/features/navigation/nav-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ export function isProjectPage(page: Page): boolean {
);
}
export function isDashboardPage(page: Page): boolean {
return page.route.id === "/[organization]/[project]/[dashboard]";
return (
page.route.id === "/[organization]/[project]/[dashboard]" ||
page.route.id === "/-/embed"
);
}

export function isReportPage(page: Page): boolean {
Expand Down

0 comments on commit 764d280

Please sign in to comment.