From a0305e47d849f867d7c3e6dc722c4d047b0c95c9 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 25 Jun 2025 14:17:02 +0000 Subject: [PATCH] fix: formatting and build --- .../components/project/partials/SortPopup.vue | 32 +++++++++---------- .../components/project/views/ProjectList.vue | 22 ++++++------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/frontend/src/components/project/partials/SortPopup.vue b/frontend/src/components/project/partials/SortPopup.vue index 8e06f8090..7498a1c51 100644 --- a/frontend/src/components/project/partials/SortPopup.vue +++ b/frontend/src/components/project/partials/SortPopup.vue @@ -62,7 +62,7 @@ diff --git a/frontend/src/components/project/views/ProjectList.vue b/frontend/src/components/project/views/ProjectList.vue index 94fa3ae42..95d3f4ff7 100644 --- a/frontend/src/components/project/views/ProjectList.vue +++ b/frontend/src/components/project/views/ProjectList.vue @@ -175,7 +175,7 @@ watch( ) const isPositionSorting = computed(() => { - return Object.keys(sortByParam.value).length === 0 || (Object.keys(sortByParam.value).length === 1 && typeof sortByParam.value.position !== 'undefined') + return Object.keys(sortByParam.value).length === 0 || (Object.keys(sortByParam.value).length === 1 && typeof sortByParam.value.position !== 'undefined') }) const firstNewPosition = computed(() => { @@ -217,15 +217,15 @@ function focusNewTaskInput() { } function updateTaskList(task: ITask) { - if (!isPositionSorting.value) { - // reload tasks with current filter and sorting - loadTasks() - } else { - allTasks.value = [ - task, - ...allTasks.value, - ] - } + if (!isPositionSorting.value) { + // reload tasks with current filter and sorting + loadTasks() + } else { + allTasks.value = [ + task, + ...allTasks.value, + ] + } baseStore.setHasTasks(true) } @@ -290,7 +290,7 @@ async function saveTaskPosition(e: { originalEvent?: MouseEvent, to: HTMLElement } function prepareFiltersAndLoadTasks() { - loadTasks() + loadTasks() } const taskRefs = ref<(InstanceType | null)[]>([])