mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 20:14:57 +02:00
UBERF-7959: Fix async issues (#6409)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
+8
-12
@@ -128,14 +128,12 @@
|
||||
MessageBox,
|
||||
{
|
||||
label: timeRes.string.ReassignToDo,
|
||||
message: timeRes.string.ReassignToDoConfirm
|
||||
},
|
||||
'top',
|
||||
async (result?: boolean) => {
|
||||
if (result === true) {
|
||||
message: timeRes.string.ReassignToDoConfirm,
|
||||
action: async () => {
|
||||
await assignTodo(user)
|
||||
}
|
||||
}
|
||||
},
|
||||
'top'
|
||||
)
|
||||
}
|
||||
|
||||
@@ -144,14 +142,12 @@
|
||||
MessageBox,
|
||||
{
|
||||
label: timeRes.string.UnassignToDo,
|
||||
message: timeRes.string.UnassignToDoConfirm
|
||||
},
|
||||
'top',
|
||||
async (result?: boolean) => {
|
||||
if (result === true) {
|
||||
message: timeRes.string.UnassignToDoConfirm,
|
||||
action: async () => {
|
||||
await unassignTodo()
|
||||
}
|
||||
}
|
||||
},
|
||||
'top'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user