mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
UBERF-6330: Fix race conditions in UI (#5184)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Person } from '@hcengineering/contact'
|
||||
import { AssigneePopup, EmployeePresenter } from '@hcengineering/contact-resources'
|
||||
import { Doc, Ref, SortingOrder } from '@hcengineering/core'
|
||||
import { Doc, Ref, SortingOrder, generateId } from '@hcengineering/core'
|
||||
import { MessageBox, createQuery, getClient } from '@hcengineering/presentation'
|
||||
import { NodeViewContent, NodeViewProps, NodeViewWrapper } from '@hcengineering/text-editor'
|
||||
import { CheckBox, getEventPositionElement, showPopup } from '@hcengineering/ui'
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
const title = node.textBetween(0, node.content.size, undefined, ' ')
|
||||
|
||||
const ops = client.apply('todo')
|
||||
const ops = client.apply('todo' + generateId())
|
||||
|
||||
if (todo !== undefined) {
|
||||
await ops.remove(todo)
|
||||
|
||||
Reference in New Issue
Block a user