Merge pull request #1741 from bluewave-labs/fix/fe/status/restore-nav
hotfix: stauts page config link
This commit is contained in:
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