Skip to content

Commit 1fc2638

Browse files
committed
fix redirect to job explorer page
1 parent 1113d90 commit 1fc2638

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Containers/Clusters/ModalContents.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ const ModalContents = ({ selectedId, isOpen, handleModal, qp, jobType }) => {
153153
end_date,
154154
},
155155
};
156-
navigate(createUrl(Paths.jobExplorer, true, initialQueryParams));
156+
navigate(
157+
createUrl(Paths.jobExplorer.replace('/', ''), true, initialQueryParams)
158+
);
157159
};
158160

159161
useEffect(() => {

src/Containers/SavingsPlanner/Details/DetailsTab/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ const DetailsTab = ({ tabsArray, plan, canWrite }) => {
8989
},
9090
};
9191

92-
navigate(createUrl(Paths.jobExplorer, true, initialQueryParams));
92+
navigate(
93+
createUrl(Paths.jobExplorer.replace('/', ''), true, initialQueryParams)
94+
);
9395
};
9496

9597
const showTemplate = (template_details) => {

0 commit comments

Comments
 (0)