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

Resolves https://github.com/go-vikunja/vikunja/issues/312

(cherry picked from commit 435cb2e7f7)
This commit is contained in:
kolaente
2024-09-20 14:20:54 +02:00
parent 27c14b6903
commit 72db97203a
@@ -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')})