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 {