mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 05:55:09 +02:00
UBERF-7959: Fix async issues (#6409)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -86,15 +86,13 @@
|
||||
MessageBox,
|
||||
{
|
||||
label: settings.string.DeleteAttribute,
|
||||
message: exist ? settings.string.DeleteAttributeExistConfirm : settings.string.DeleteAttributeConfirm
|
||||
},
|
||||
'top',
|
||||
async (result) => {
|
||||
if (result != null) {
|
||||
message: exist ? settings.string.DeleteAttributeExistConfirm : settings.string.DeleteAttributeConfirm,
|
||||
action: async () => {
|
||||
await client.remove(attribute)
|
||||
update()
|
||||
}
|
||||
}
|
||||
},
|
||||
'top'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user