fix: maintain cluster context after adding repo (#616) (#641)

* fix: maintain cluster context after adding repo (#616)

* chore: rollback lock file changes as requested
This commit is contained in:
Vedant Apraj
2026-01-09 23:17:22 +05:30
committed by GitHub
parent 05c7c0b5c4
commit 37af7dfbec
5 changed files with 25 additions and 36 deletions

View File

@@ -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()}`;