before gemiin
This commit is contained in:
@@ -6,7 +6,7 @@ export const useTasksStore = defineStore('tasks', () => {
|
||||
const tasks = ref<Task[]>([])
|
||||
const loading = ref(false)
|
||||
|
||||
async function fetchAll(params?: { statut?: string; garden_id?: number }) {
|
||||
async function fetchAll(params?: { statut?: string; garden_id?: number; planting_id?: number }) {
|
||||
loading.value = true
|
||||
tasks.value = await tasksApi.list(params)
|
||||
loading.value = false
|
||||
|
||||
Reference in New Issue
Block a user