1
0
Fork 0

fix: undefined parent project when none was selected

This commit is contained in:
kolaente 2023-05-30 10:56:42 +02:00
parent 7b05ed9d3d
commit 6cc11e64ab
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ watch(
useTitle(() => project?.title ? t('project.edit.title', {project: project.title}) : '')
async function save() {
project.parentProjectId = parentProject.value.id ?? project.parentProjectId
project.parentProjectId = parentProject.value?.id ?? project.parentProjectId
await saveProject()
await useBaseStore().handleSetCurrentProject({project})
router.back()