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