commenting out checkboxs and input box instead of deleting for future implementations
This commit is contained in:
1 parent
6ed8f93688
commit
d8b1d63faa
1 file changed
+34
@@ -376,6 +376,14 @@ const Configure = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.spacing(6)}>
|
<Stack gap={theme.spacing(6)}>
|
||||||
<Typography component="p">When there is a new incident,</Typography>
|
<Typography component="p">When there is a new incident,</Typography>
|
||||||
|
{/* <Checkbox
|
||||||
|
id="notify-sms"
|
||||||
|
label="Notify via SMS (coming soon)"
|
||||||
|
isChecked={false}
|
||||||
|
value=""
|
||||||
|
onChange={() => logger.warn("disabled")}
|
||||||
|
isDisabled={true}
|
||||||
|
/> */}
|
||||||
<Checkbox
|
<Checkbox
|
||||||
id="notify-email-default"
|
id="notify-email-default"
|
||||||
label={`Notify via email (to ${user.email})`}
|
label={`Notify via email (to ${user.email})`}
|
||||||
@@ -387,6 +395,32 @@ const Configure = () => {
|
|||||||
value={user?.email}
|
value={user?.email}
|
||||||
onChange={(event) => handleChange(event)}
|
onChange={(event) => handleChange(event)}
|
||||||
/>
|
/>
|
||||||
|
{/* <Checkbox
|
||||||
|
id="notify-email"
|
||||||
|
label="Also notify via email to multiple addresses (coming soon)"
|
||||||
|
isChecked={false}
|
||||||
|
value=""
|
||||||
|
onChange={() => logger.warn("disabled")}
|
||||||
|
isDisabled={true}
|
||||||
|
/> */}
|
||||||
|
{/* {monitor?.notifications?.some(
|
||||||
|
(notification) => notification.type === "emails"
|
||||||
|
) ? (
|
||||||
|
<Box mx={theme.spacing(16)}>
|
||||||
|
<TextInput
|
||||||
|
id="notify-email-list"
|
||||||
|
type="text"
|
||||||
|
placeholder="name@gmail.com"
|
||||||
|
value=""
|
||||||
|
onChange={() => logger.warn("disabled")}
|
||||||
|
/>
|
||||||
|
<Typography mt={theme.spacing(4)}>
|
||||||
|
You can separate multiple emails with a comma
|
||||||
|
</Typography>
|
||||||
|
</Box>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)} */}
|
||||||
</Stack>
|
</Stack>
|
||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
|
|||||||
Reference in new issue
Block a user