kanban experiments

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-10-07 19:08:46 +02:00
parent 4cac9797ce
commit 877c2f47a4
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -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, {