]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23493 Don't reset issue filters when opening project settings
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>
Mon, 4 Nov 2024 18:23:03 +0000 (19:23 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 5 Nov 2024 20:03:00 +0000 (20:03 +0000)
server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx

index 8e836e52c4709ac969e9f82bcf857a30801b016d..ae797f49ca1e6b7532330d57df09996db800d897 100644 (file)
@@ -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>
     );
   };