fix: project store loading
This commit is contained in:
parent
ca4074fe01
commit
357f1cfc5c
|
@ -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 {
|
||||
|
|
Reference in New Issue