Quick add magic for tasks (#570)
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/570 Co-authored-by: konrad <konrad@kola-entertainments.de> Co-committed-by: konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
bc73d75a9b
commit
c8209c6c10
18 changed files with 1136 additions and 220 deletions
|
|
@ -25,6 +25,12 @@ export default {
|
|||
}
|
||||
return null
|
||||
},
|
||||
findListByExactname: state => name => {
|
||||
const list = Object.values(state).find(l => {
|
||||
return l.title.toLowerCase() === name.toLowerCase()
|
||||
})
|
||||
return typeof list === 'undefined' ? null : list
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
toggleListFavorite(ctx, list) {
|
||||
|
|
|
|||
Reference in a new issue