mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Fix issue (#596)
This commit is contained in:
@@ -19,7 +19,7 @@ const useNavigateWithSearchParams = () => {
|
|||||||
let prefixedUrl = url;
|
let prefixedUrl = url;
|
||||||
|
|
||||||
if (!clusterMode) {
|
if (!clusterMode) {
|
||||||
prefixedUrl = `/${context}${url}`;
|
prefixedUrl = `/${encodeURIComponent(context)}${url}`;
|
||||||
}
|
}
|
||||||
navigate(`${prefixedUrl}${search}`, ...restArgs);
|
navigate(`${prefixedUrl}${search}`, ...restArgs);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user