feat: rename lists to projects #2697
|
@ -14,7 +14,7 @@
|
|||
</router-link>
|
||||
</message>
|
||||
<add-task
|
||||
@taskAdded="updateTaskProject"
|
||||
@taskAdded="updateTaskKey"
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
class="is-max-width-desktop"
|
||||
/>
|
||||
<template v-if="!hasTasks && !loading">
|
||||
|
@ -102,7 +102,7 @@ const deletionScheduledAt = computed(() => parseDateOrNull(authStore.info?.delet
|
|||
// FIXME: Should use pinia (somehow?)
|
||||
const showTasksKey = ref(0)
|
||||
|
||||
function updateTaskProject() {
|
||||
function updateTaskKey() {
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
showTasksKey.value++
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
class="list-view__add-task"
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
This should stay This should stay `list-view__add-task`
|
||||
ref="addTaskRef"
|
||||
:default-position="firstNewPosition"
|
||||
@taskAdded="updateTaskProject"
|
||||
@taskAdded="updateTaskList"
|
||||
/>
|
||||
|
||||
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
||||
|
@ -246,7 +246,7 @@ function focusNewTaskInput() {
|
|||
addTaskRef.value?.focusTaskInput()
|
||||
}
|
||||
|
||||
function updateTaskProject(task: ITask) {
|
||||
function updateTaskList(task: ITask) {
|
||||
if (isAlphabeticalSorting.value ) {
|
||||
// reload tasks with current filter and sorting
|
||||
loadTasks()
|
||||
|
|
Reference in New Issue
This should either:
updateProject
.Yes. I've updated it.