1
0

feat: rebuild main navigation so that it works recursively with projects

This commit is contained in:
kolaente
2023-03-25 18:10:41 +01:00
parent 10311b79df
commit 06e8cdb9d2
4 changed files with 162 additions and 109 deletions

View File

@ -115,11 +115,9 @@ export const useProjectStore = defineStore('project', () => {
// the returned project from projectService.update is the same!
// in order to not create a manipulation in pinia store we have to create a new copy
const newProject = {
return {
...project,
}
return newProject
} catch (e) {
// Reset the project state to the initial one to avoid confusion for the user
setProject({