mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03:00
Fix clear todo description (#6697)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
2cf53576cb
commit
b08749330d
@ -596,9 +596,6 @@ async function changeIssueDataHandler (control: TriggerControl, issueId: Ref<Iss
|
|||||||
if (data.title !== todo.title) {
|
if (data.title !== todo.title) {
|
||||||
update.title = data.title
|
update.title = data.title
|
||||||
}
|
}
|
||||||
if (data.description !== todo.description) {
|
|
||||||
update.description = data.description
|
|
||||||
}
|
|
||||||
if (data.attachedSpace !== todo.attachedSpace) {
|
if (data.attachedSpace !== todo.attachedSpace) {
|
||||||
update.attachedSpace = data.attachedSpace
|
update.attachedSpace = data.attachedSpace
|
||||||
}
|
}
|
||||||
@ -633,8 +630,8 @@ async function updateIssueHandler (tx: TxUpdateDoc<Issue>, control: TriggerContr
|
|||||||
res.push(...(await changeIssueStatusHandler(control, newStatus, tx.objectId)))
|
res.push(...(await changeIssueStatusHandler(control, newStatus, tx.objectId)))
|
||||||
}
|
}
|
||||||
const name = tx.operations.title
|
const name = tx.operations.title
|
||||||
const number = tx.operations.number
|
const space = tx.operations.space
|
||||||
if (number !== undefined || name !== undefined) {
|
if (space !== undefined || name !== undefined) {
|
||||||
res.push(...(await changeIssueDataHandler(control, tx.objectId)))
|
res.push(...(await changeIssueDataHandler(control, tx.objectId)))
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
Loading…
Reference in New Issue
Block a user