aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-11-04 19:23:03 +0100
committersonartech <sonartech@sonarsource.com>2024-11-05 20:03:00 +0000
commit92d16985727fde31f33fe17c3c7529731188cce2 (patch)
treee872d488c69944cda4cb81fe265ea9e259b600ed
parentc62059436ef4b829d8047c25b74938d3187ec4df (diff)
downloadsonarqube-92d16985727fde31f33fe17c3c7529731188cce2.tar.gz
sonarqube-92d16985727fde31f33fe17c3c7529731188cce2.zip
SONAR-23493 Don't reset issue filters when opening project settings
-rw-r--r--server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx4
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>
);
};