fix(filters): correctly return project from filter
Related https://kolaente.dev/vikunja/vikunja/issues/2194
This commit is contained in:
parent
161bb1b192
commit
c8b35d49ca
@ -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
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user