From 357f1cfc5c746d94ac282b86b45b9a48a02a8ac8 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 17 Jan 2023 23:02:10 +0100 Subject: [PATCH] fix: project store loading --- src/stores/projects.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/projects.ts b/src/stores/projects.ts index 98a85a4f7..380518a39 100644 --- a/src/stores/projects.ts +++ b/src/stores/projects.ts @@ -95,7 +95,7 @@ export const useProjectStore = defineStore('project', () => { } async function createProject(project: IProject) { - const cancel = setModuleLoading(this, setIsLoading) + const cancel = setModuleLoading(setIsLoading) const projectService = new ProjectService() try { @@ -145,7 +145,7 @@ export const useProjectStore = defineStore('project', () => { } async function deleteProject(project: IProject) { - const cancel = setModuleLoading(this, setIsLoading) + const cancel = setModuleLoading(setIsLoading) const projectService = new ProjectService() try {