fix: new tasks were always created in the default list
This commit is contained in:
parent
a85e27b497
commit
7e29dde717
1 changed files with 2 additions and 2 deletions
|
@ -40,10 +40,10 @@ export default {
|
|||
const list = this.$store.getters['lists/findListByExactname'](parsedTask.list)
|
||||
listId = list === null ? null : list.id
|
||||
}
|
||||
if (listId == null && lId !== 0) {
|
||||
if (listId === null && lId !== 0) {
|
||||
listId = lId
|
||||
}
|
||||
if (listId == null && typeof this.$route.params.listId !== 'undefined') {
|
||||
if (typeof this.$route.params.listId !== 'undefined') {
|
||||
listId = parseInt(this.$route.params.listId)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue