Merge branch 'dev'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "donetick",
|
||||
"private": true,
|
||||
"version": "0.1.106",
|
||||
"version": "0.1.107",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=20.0.0",
|
||||
|
||||
@@ -290,6 +290,7 @@ const ChoreEdit = () => {
|
||||
)
|
||||
setIsRolling(data.res.isRolling)
|
||||
setIsActive(data.res.isActive)
|
||||
setSubTasks(data.res.subTasks ? data.res.subTasks : [])
|
||||
|
||||
if (isCloneMode) {
|
||||
if (data.res.subTasks) {
|
||||
|
||||
@@ -428,6 +428,7 @@ const TaskInput = ({ autoFocus, onChoreUpdate, isModalOpen, onClose }) => {
|
||||
if (!frequency && dueDate) {
|
||||
// use dueDate converted to UTC:
|
||||
chore.nextDueDate = new Date(dueDate).toUTCString()
|
||||
chore.notificationMetadata = notificationMetadata
|
||||
}
|
||||
|
||||
createChoreMutation
|
||||
@@ -620,7 +621,6 @@ const TaskInput = ({ autoFocus, onChoreUpdate, isModalOpen, onClose }) => {
|
||||
setHasNotifications(true)
|
||||
setFrequencyHumanReadable('Once')
|
||||
setFrequency(null)
|
||||
setDueDate(moment().add(1, 'day').format('YYYY-MM-DDTHH:00:00'))
|
||||
}}
|
||||
>
|
||||
Edit Notifications
|
||||
|
||||
Reference in New Issue
Block a user