We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0b44f commit 69fe906Copy full SHA for 69fe906
frontend/src/App.tsx
@@ -35,7 +35,7 @@ const PageLayout = () => {
35
const SyncContext: React.FC = () => {
36
const { context } = useParams();
37
if (context) {
38
- apiService.setCluster(context);
+ apiService.setCluster(decodeURIComponent(context));
39
}
40
41
return <Outlet />;
frontend/src/pages/Installed.tsx
@@ -21,7 +21,7 @@ function Installed() {
21
22
const handleClusterChange = (clusterName: string) => {
23
navigate({
24
- pathname: `/${clusterName}/installed`,
+ pathname: `/${encodeURIComponent(clusterName)}/installed`,
25
});
26
};
27
0 commit comments