fix: routerBasename setting (#4891)

This commit is contained in:
Bill Wallace authored and GitHub committed 2025-03-27 16:47:16 -04:00
1 parent c368d763b0
commit 459b0d223a
40 files changed
+299 -229

No files matched your search

@@ -7,7 +7,7 @@ import { useSystem } from '@ohif/core';
import { Toolbar } from '../Toolbar/Toolbar';
import HeaderPatientInfo from './HeaderPatientInfo';
import { PatientInfoVisibility } from './HeaderPatientInfo/HeaderPatientInfo';
import { preserveQueryParameters, publicUrl } from '@ohif/app';
import { preserveQueryParameters } from '@ohif/app';
function ViewerHeader({ appConfig }: withAppTypes<{ appConfig: AppTypes.Config }>) {
const { servicesManager, extensionManager, commandsManager } = useSystem();
@@ -30,7 +30,7 @@ function ViewerHeader({ appConfig }: withAppTypes<{ appConfig: AppTypes.Config }
preserveQueryParameters(searchQuery);
navigate({
pathname: publicUrl,
pathname: '/',
search: decodeURIComponent(searchQuery.toString()),
});
};