@@ -73,7 +73,7 @@
>
-
+
@@ -114,7 +114,6 @@ import type {ITask} from '@/modelTypes/ITask'
import {isSavedFilter} from '@/services/savedFilter'
import {useBaseStore} from '@/stores/base'
-import {useTaskStore} from '@/stores/tasks'
import type {IProject} from '@/modelTypes/IProject'
import type {IProjectView} from '@/modelTypes/IProjectView'
@@ -189,7 +188,6 @@ const firstNewPosition = computed(() => {
return calculateItemPosition(null, tasks.value[0].position)
})
-const taskStore = useTaskStore()
const baseStore = useBaseStore()
const project = computed(() => baseStore.currentProject)
diff --git a/frontend/src/components/project/views/ProjectTable.vue b/frontend/src/components/project/views/ProjectTable.vue
index 86b434f6b..9393ed559 100644
--- a/frontend/src/components/project/views/ProjectTable.vue
+++ b/frontend/src/components/project/views/ProjectTable.vue
@@ -2,7 +2,7 @@
diff --git a/frontend/src/components/project/views/viewEditForm.vue b/frontend/src/components/project/views/viewEditForm.vue
index e555790f3..55a60f0d4 100644
--- a/frontend/src/components/project/views/viewEditForm.vue
+++ b/frontend/src/components/project/views/viewEditForm.vue
@@ -117,11 +117,14 @@ function validateTitle() {
class="is-danger"
@click.prevent="() => model.bucketConfiguration.splice(index, 1)"
>
-
+
diff --git a/frontend/src/composables/useTaskList.ts b/frontend/src/composables/useTaskList.ts
index 151a4e9f2..27a8ab6eb 100644
--- a/frontend/src/composables/useTaskList.ts
+++ b/frontend/src/composables/useTaskList.ts
@@ -58,7 +58,7 @@ const SORT_BY_DEFAULT: SortBy = {
export function useTaskList(
projectIdGetter: ComputedGetter,
projectViewIdGetter: ComputedGetter,
- sortByDefault: SortBy = SORT_BY_DEFAULT
+ sortByDefault: SortBy = SORT_BY_DEFAULT,
) {
const projectId = computed(() => projectIdGetter())
diff --git a/frontend/src/helpers/projectView.ts b/frontend/src/helpers/projectView.ts
index 285f6c2ef..fd34bbdb2 100644
--- a/frontend/src/helpers/projectView.ts
+++ b/frontend/src/helpers/projectView.ts
@@ -1,4 +1,3 @@
-import type { RouteRecordName } from 'vue-router'
import router from '@/router'
import type {IProject} from '@/modelTypes/IProject'
diff --git a/frontend/src/stores/kanban.ts b/frontend/src/stores/kanban.ts
index d31dc8c4e..9cf8c94d5 100644
--- a/frontend/src/stores/kanban.ts
+++ b/frontend/src/stores/kanban.ts
@@ -3,8 +3,6 @@ import {acceptHMRUpdate, defineStore} from 'pinia'
import {klona} from 'klona/lite'
import {findById, findIndexById} from '@/helpers/utils'
-import {i18n} from '@/i18n'
-import {success} from '@/message'
import BucketService from '@/services/bucket'
import TaskCollectionService, {type TaskFilterParams} from '@/services/taskCollection'
diff --git a/frontend/src/stores/tasks.ts b/frontend/src/stores/tasks.ts
index faef5881c..8a55c1065 100644
--- a/frontend/src/stores/tasks.ts
+++ b/frontend/src/stores/tasks.ts
@@ -28,9 +28,8 @@ import {useKanbanStore} from '@/stores/kanban'
import {useBaseStore} from '@/stores/base'
import ProjectUserService from '@/services/projectUsers'
import {useAuthStore} from '@/stores/auth'
-import TaskCollectionService, {type TaskFilterParams} from '@/services/taskCollection'
+import {type TaskFilterParams} from '@/services/taskCollection'
import {getRandomColorHex} from '@/helpers/color/randomColor'
-import type {IProjectView} from '@/modelTypes/IProjectView'
interface MatchedAssignee extends IUser {
match: string,
diff --git a/frontend/src/views/project/ProjectView.vue b/frontend/src/views/project/ProjectView.vue
index c51e7ebfd..e7d5371d3 100644
--- a/frontend/src/views/project/ProjectView.vue
+++ b/frontend/src/views/project/ProjectView.vue
@@ -31,6 +31,7 @@ watch(
if (viewId === 0) {
// Ideally, we would do that in the router redirect, but we the projects (and therefore, the views)
// are not always loaded then.
+ console.log('views', projectId, projectStore.projects)
const viewId = projectStore.projects[projectId].views[0].id
router.replace({
name: 'project.view',
@@ -51,25 +52,21 @@ const route = useRoute()
-
-
\ No newline at end of file
diff --git a/frontend/src/views/project/settings/views.vue b/frontend/src/views/project/settings/views.vue
index 07fe02d00..e39fe34d8 100644
--- a/frontend/src/views/project/settings/views.vue
+++ b/frontend/src/views/project/settings/views.vue
@@ -90,12 +90,12 @@ async function saveView() {
class="mb-4"
/>
-
{{ $t('project.views.create') }}
-
+
-
- {{ $t('project.views.title') }} |
- {{ $t('project.views.kind') }} |
- {{ $t('project.views.actions') }} |
-
+
+ {{ $t('project.views.title') }} |
+ {{ $t('project.views.kind') }} |
+
+ {{ $t('project.views.actions') }}
+ |
+
-
-
-
-
-
-
- {{ $t('misc.cancel') }}
-
-
- {{ $t('misc.save') }}
-
-
- |
-
-
- {{ v.title }} |
- {{ v.viewKind }} |
-
- {
- viewIdToDelete = v.id
- showDeleteModal = true
- }"
- />
-
- |
-
-
+
+
+
+
+
+
+ {{ $t('misc.cancel') }}
+
+
+ {{ $t('misc.save') }}
+
+
+ |
+
+
+ {{ v.title }} |
+ {{ v.viewKind }} |
+
+ {
+ viewIdToDelete = v.id
+ showDeleteModal = true
+ }"
+ />
+
+ |
+
+
@@ -174,7 +176,3 @@ async function saveView() {
-
-
\ No newline at end of file
diff --git a/frontend/src/views/sharing/LinkSharingAuth.vue b/frontend/src/views/sharing/LinkSharingAuth.vue
index 34e48db1c..b10daad40 100644
--- a/frontend/src/views/sharing/LinkSharingAuth.vue
+++ b/frontend/src/views/sharing/LinkSharingAuth.vue
@@ -109,7 +109,7 @@ function useAuth() {
name: 'project.view',
params: {
projectId,
- viewId: route.query.view
+ viewId: route.query.view,
},
hash,
})