Compare commits
2 commits
4dfddbcfb0
...
59d794a6d0
Author | SHA1 | Date | |
---|---|---|---|
59d794a6d0 | |||
5bb5c8a907 |
1 changed files with 7 additions and 3 deletions
|
@ -85,10 +85,14 @@ const ChoreEdit = () => {
|
||||||
const [thingTrigger, setThingTrigger] = useState(null)
|
const [thingTrigger, setThingTrigger] = useState(null)
|
||||||
const [isThingValid, setIsThingValid] = useState(false)
|
const [isThingValid, setIsThingValid] = useState(false)
|
||||||
|
|
||||||
const [notificationMetadata, setNotificationMetadata] = useState({})
|
const [notificationMetadata, setNotificationMetadata] = useState({
|
||||||
|
dueDate: true,
|
||||||
|
predue: true,
|
||||||
|
nagging: true
|
||||||
|
})
|
||||||
|
|
||||||
const [isRolling, setIsRolling] = useState(false)
|
const [isRolling, setIsRolling] = useState(false)
|
||||||
const [isNotificable, setIsNotificable] = useState(false)
|
const [isNotificable, setIsNotificable] = useState(true)
|
||||||
const [isActive, setIsActive] = useState(true)
|
const [isActive, setIsActive] = useState(true)
|
||||||
const [updatedBy, setUpdatedBy] = useState(0)
|
const [updatedBy, setUpdatedBy] = useState(0)
|
||||||
const [createdBy, setCreatedBy] = useState(0)
|
const [createdBy, setCreatedBy] = useState(0)
|
||||||
|
@ -710,7 +714,7 @@ const ChoreEdit = () => {
|
||||||
onChange={e => {
|
onChange={e => {
|
||||||
setIsNotificable(e.target.checked)
|
setIsNotificable(e.target.checked)
|
||||||
}}
|
}}
|
||||||
defaultChecked={isNotificable}
|
defaultChecked={true}
|
||||||
checked={isNotificable}
|
checked={isNotificable}
|
||||||
value={isNotificable}
|
value={isNotificable}
|
||||||
disabled={!isPlusAccount(userProfile)}
|
disabled={!isPlusAccount(userProfile)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue