1
0

fix(filters): correctly return project from filter

Related https://kolaente.dev/vikunja/vikunja/issues/2194
This commit is contained in:
kolaente 2024-03-14 08:49:02 +01:00
parent 161bb1b192
commit c8b35d49ca
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -19,7 +19,7 @@
</Fancycheckbox>
</div>
<FilterInputDocs />
<FilterInputDocs/>
<template
v-if="hasFooter"
@ -111,12 +111,7 @@ function change() {
labelTitle => labelStore.filterLabelsByQuery([], labelTitle)[0]?.id || null,
projectTitle => {
const found = projectStore.findProjectByExactname(projectTitle)
if (found === null) {
return null
}
return found[0]?.id || null
return found?.id || null
},
)