fix(view): do not crash when saving a view

Resolves https://github.com/go-vikunja/vikunja/issues/312
This commit is contained in:
kolaente 2024-08-25 15:53:51 +02:00
parent 9ed33f5c08
commit 435cb2e7f7
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -99,7 +99,7 @@ async function saveView(view: IProjectView) {
if (view?.viewKind !== 'kanban') {
view.bucketConfigurationMode = 'none'
}
const result = await ProjectViewService.update(view)
const result = await projectViewService.update(view)
projectStore.setProjectView(result)
viewToEdit.value = null
success({message: t('project.views.updateSuccess')})