mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03:00
TSK-1160 Баг Дублируется событие в Activity по поводу изменения Дескрипшен (#2978)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
1d7306d990
commit
e96b6172e6
@ -83,7 +83,7 @@
|
||||
_class,
|
||||
{ _id },
|
||||
async (result) => {
|
||||
if (saveTrigger !== undefined) {
|
||||
if (saveTrigger !== undefined && lastId !== _id) {
|
||||
clearTimeout(saveTrigger)
|
||||
await save()
|
||||
}
|
||||
@ -101,6 +101,7 @@
|
||||
|
||||
let saved = false
|
||||
async function save () {
|
||||
clearTimeout(saveTrigger)
|
||||
if (!issue || !canSave) {
|
||||
return
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
||||
const listProvider = new ListSelectionProvider((offset: 1 | -1 | 0, of?: Doc, dir?: SelectDirection) => {
|
||||
if (dir === 'vertical') {
|
||||
// Select next
|
||||
list.select(offset, of)
|
||||
list?.select(offset, of)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user