mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
kanban experiments
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
4cac9797ce
commit
877c2f47a4
@ -76,11 +76,11 @@
|
||||
}
|
||||
|
||||
async function move(to: number, state: Ref<State>) {
|
||||
console.log('move version 10')
|
||||
console.log('move version 12')
|
||||
const id = dragCard._id
|
||||
|
||||
if (dragCardInitialState !== state)
|
||||
await client.updateDoc(_class, space, id, { state })
|
||||
client.updateDoc(_class, space, id, { state })
|
||||
|
||||
if (dragCardInitialPosition !== to) {
|
||||
await client.updateDoc(core.class.SpaceWithStates, core.space.Model, space, {
|
||||
|
Loading…
Reference in New Issue
Block a user