infra thresholds FE
This commit is contained in:
1 parent
7631e65cd2
commit
0453b790af
9 files changed
+191
-25
No files matched your search
@@ -37,8 +37,12 @@ const InfraConfigurePage = () => {
|
||||
secret: data.secret,
|
||||
name: data.name,
|
||||
notificationChannels: data.notificationChannels,
|
||||
thresholds: data.thresholds,
|
||||
interval,
|
||||
};
|
||||
|
||||
console.log(JSON.stringify(submitData, null, 2));
|
||||
|
||||
const result = await patch(`/monitors/${id}`, submitData);
|
||||
if (result) {
|
||||
navigate(`/infrastructure/${id}`);
|
||||
|
||||
Reference in new issue
Block a user