mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-08 08:52:11 +02:00
ux: rename category to prepare Apprise integration
This commit is contained in:
parent
aa4e8bc933
commit
aa1dd93c41
|
@ -10,7 +10,7 @@ import { SpinnerCircularFixed } from 'spinners-react';
|
||||||
import Error from '../../../Components/UI/Error/Error';
|
import Error from '../../../Components/UI/Error/Error';
|
||||||
import Switch from '../../../Components/UI/Switch/Switch';
|
import Switch from '../../../Components/UI/Switch/Switch';
|
||||||
|
|
||||||
export default function EmailAlertSettings(props) {
|
export default function EmailAlertSettings() {
|
||||||
//Var
|
//Var
|
||||||
const toastOptions = {
|
const toastOptions = {
|
||||||
position: 'top-right',
|
position: 'top-right',
|
||||||
|
@ -111,7 +111,7 @@ export default function EmailAlertSettings(props) {
|
||||||
{/* EMAIL ALERT */}
|
{/* EMAIL ALERT */}
|
||||||
<div className={classes.containerSetting}>
|
<div className={classes.containerSetting}>
|
||||||
<div className={classes.settingCategory}>
|
<div className={classes.settingCategory}>
|
||||||
<h2>Alerting</h2>
|
<h2>Email alert</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.setting}>
|
<div className={classes.setting}>
|
||||||
<div className={classes.bwFormWrapper}>
|
<div className={classes.bwFormWrapper}>
|
||||||
|
@ -127,7 +127,7 @@ export default function EmailAlertSettings(props) {
|
||||||
<Switch
|
<Switch
|
||||||
checked={checked}
|
checked={checked}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
switchName='Email'
|
switchName='Alert me by email'
|
||||||
switchDescription='You will receive an alert every 24H if you have a down status.'
|
switchDescription='You will receive an alert every 24H if you have a down status.'
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
onChangeSwitchHandler({ emailAlert: e })
|
onChangeSwitchHandler({ emailAlert: e })
|
||||||
|
|
Loading…
Reference in a new issue