fix: lint

This commit is contained in:
kolaente 2021-10-17 16:26:17 +02:00
parent 9fc158831b
commit 2de94bc902
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -424,7 +424,7 @@ export default {
const newTask = cloneDeep(task) // cloning the task to avoid vuex store mutations
newTask.bucketId = newBucket.id,
newTask.kanbanPosition = calculateItemPosition(taskBefore !== null ? taskBefore.kanbanPosition : null, taskAfter !== null ? taskAfter.kanbanPosition : null),
newTask.kanbanPosition = calculateItemPosition(taskBefore !== null ? taskBefore.kanbanPosition : null, taskAfter !== null ? taskAfter.kanbanPosition : null)
try {
await this.$store.dispatch('tasks/update', newTask)