add support for archiving projects and marking tasks as done

This commit is contained in:
Gregor Vostrak
2024-07-02 17:01:12 +02:00
parent 0f32e42002
commit 6593a8c24f
15 changed files with 285 additions and 71 deletions

View File

@@ -24,6 +24,9 @@ export const useProjectsStore = defineStore('projects', () => {
params: {
organization: organization,
},
queries: {
archived: 'all',
},
}),
undefined,
'Failed to fetch projects'

View File

@@ -17,6 +17,9 @@ export const useTasksStore = defineStore('tasks', () => {
params: {
organization: organizationId,
},
queries: {
done: 'all',
},
})
);
if (tasksResponse?.data) {