Skip to content

Commit 931fd19

Browse files
committed
fix link
1 parent 754c0c2 commit 931fd19

File tree

1 file changed

+5
-1
lines changed
  • Client/src/Pages/StatusPage/Status/Components/ControlsHeader

1 file changed

+5
-1
lines changed

Client/src/Pages/StatusPage/Status/Components/ControlsHeader/index.jsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, url, type }) => {
4343
variant="contained"
4444
color="secondary"
4545
onClick={() => {
46-
navigate(`/status/`);
46+
if (type === "uptime") {
47+
navigate(`/status/uptime/configure/${url}`);
48+
} else {
49+
navigate(`/status/distributed/configure/${url}`);
50+
}
4751
}}
4852
sx={{
4953
px: theme.spacing(5),

0 commit comments

Comments
 (0)