mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 12:47:45 +02:00
UBER-408 Issue as task (#3497)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -517,8 +517,8 @@ export async function convert (
|
||||
}
|
||||
|
||||
if (existing !== undefined) {
|
||||
if (existing.state !== state?._id) {
|
||||
update.state = state._id
|
||||
if (existing.status !== state?._id) {
|
||||
update.status = state._id
|
||||
}
|
||||
if (Object.keys(update).length > 0) {
|
||||
await ops.update(existing, update)
|
||||
|
||||
Reference in New Issue
Block a user