mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 20:40:59 +00:00
parent
0f503edccb
commit
8d14dbef14
@ -91,7 +91,8 @@
|
||||
modifiedOn: Date.now(),
|
||||
modifiedBy: '' as Ref<Account>,
|
||||
startDate: null,
|
||||
dueDate: null
|
||||
dueDate: null,
|
||||
createOn: Date.now()
|
||||
}
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
@ -149,7 +150,8 @@
|
||||
assignee: doc.assignee,
|
||||
rank: calcRank(lastOne, undefined),
|
||||
startDate: null,
|
||||
dueDate: null
|
||||
dueDate: null,
|
||||
createOn: Date.now()
|
||||
},
|
||||
doc._id
|
||||
)
|
||||
@ -181,7 +183,8 @@
|
||||
modifiedOn: Date.now(),
|
||||
modifiedBy: '' as Ref<Account>,
|
||||
startDate: null,
|
||||
dueDate: null
|
||||
dueDate: null,
|
||||
createOn: Date.now()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,9 +34,10 @@
|
||||
_id: type.of
|
||||
},
|
||||
(res) => {
|
||||
items = res[0]?.enumValues?.map((p) => {
|
||||
return { id: p, label: p }
|
||||
})
|
||||
items =
|
||||
res[0]?.enumValues?.map((p) => {
|
||||
return { id: p, label: p }
|
||||
}) ?? []
|
||||
},
|
||||
{ limit: 1 }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user