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"
|
||||
color="secondary"
|
||||
onClick={() => {
|
||||
if (type === "uptime") {
|
||||
navigate(`/status/uptime/configure/${url}`);
|
||||
} else {
|
||||
navigate(`/status/distributed/configure/${url}`);
|
||||
}
|
||||
navigate(`/status/`);
|
||||
}}
|
||||
sx={{
|
||||
px: theme.spacing(5),
|
||||
|
||||
Reference in new issue
Block a user