fix: project store loading

This commit is contained in:
kolaente 2023-01-17 23:02:10 +01:00
parent ca4074fe01
commit 357f1cfc5c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ export const useProjectStore = defineStore('project', () => {
} }
async function createProject(project: IProject) { async function createProject(project: IProject) {
const cancel = setModuleLoading(this, setIsLoading) const cancel = setModuleLoading(setIsLoading)
const projectService = new ProjectService() const projectService = new ProjectService()
try { try {
@ -145,7 +145,7 @@ export const useProjectStore = defineStore('project', () => {
} }
async function deleteProject(project: IProject) { async function deleteProject(project: IProject) {
const cancel = setModuleLoading(this, setIsLoading) const cancel = setModuleLoading(setIsLoading)
const projectService = new ProjectService() const projectService = new ProjectService()
try { try {