nav to /status/
This commit is contained in:
1 parent
9a517c239f
commit
6e58b6a630
1 file changed
+1
-5
@@ -43,11 +43,7 @@ const Controls = ({ isDeleteOpen, setIsDeleteOpen, isDeleting, url, type }) => {
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (type === "uptime") {
|
navigate(`/status/`);
|
||||||
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