fix link
This commit is contained in:
1 parent
754c0c2c43
commit
931fd197ac
1 file changed
+5
-1
@@ -43,7 +43,11 @@ const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, url, type }) => {
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate(`/status/`);
|
if (type === "uptime") {
|
||||||
|
navigate(`/status/uptime/configure/${url}`);
|
||||||
|
} else {
|
||||||
|
navigate(`/status/distributed/configure/${url}`);
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
px: theme.spacing(5),
|
px: theme.spacing(5),
|
||||||
|
|||||||
Reference in new issue
Block a user