handleChange(event, "type", setChecks)}
- />
-
-
-
*/}
{errors["type"] ? (
@@ -299,36 +260,62 @@ const CreateMonitor = () => {
-
Incident notifications
- When there is an incident, notify users
+ When there is an incident, notify users.
-
+
When there is a new incident,
-
+ console.log("disabled")}
+ isDisabled={true}
+ />
notification.type === "email"
+ )}
+ value={user?.email}
+ onChange={(event) => handleChange(event)}
/>
- console.log("disabled")}
+ isDisabled={true}
/>
+ {monitor.notifications.some(
+ (notification) => notification.type === "emails"
+ ) ? (
+
+ console.log("disabled")}
+ />
+
+ You can separate multiple emails with a comma
+
+
+ ) : (
+ ""
+ )}
-
Advanced settings
@@ -337,10 +324,8 @@ const CreateMonitor = () => {