mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
* fix: maintain cluster context after adding repo (#616) * chore: rollback lock file changes as requested
This commit is contained in:
@@ -23,8 +23,10 @@ const LinkWithSearchParams = ({
|
||||
|
||||
let prefixedUrl = to;
|
||||
|
||||
if (!clusterMode) {
|
||||
if (!clusterMode && context) {
|
||||
prefixedUrl = `/${encodeURIComponent(context)}${to}`;
|
||||
} else {
|
||||
prefixedUrl = to;
|
||||
}
|
||||
|
||||
const url = `${prefixedUrl}/?${params.toString()}`;
|
||||
|
||||
Reference in New Issue
Block a user