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