diff options
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx index 8e836e52c47..ae797f49ca1 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx @@ -272,7 +272,7 @@ export function Menu(props: Readonly<Props>) { : translate('layout.settings') } withChevron - to={{ search: new URLSearchParams(query).toString() }} + to={window.location} /> </DropdownMenu.Root> ); @@ -549,7 +549,7 @@ export function Menu(props: Readonly<Props>) { id="component-navigation-more" items={withoutSecurityExtension.map((e) => renderExtension(e, false, query))} > - <NavBarTabLink preventDefault text={translate('more')} withChevron to={{}} /> + <NavBarTabLink preventDefault text={translate('more')} withChevron to={window.location} /> </DropdownMenu.Root> ); }; |