Only show undone tasks on task overview page
This commit is contained in:
parent
bdb2dba49c
commit
be10ba0f62
1 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,12 @@
|
|||
},
|
||||
methods: {
|
||||
loadPendingTasks() {
|
||||
let params = {sort_by: ['due_date_unix', 'id'], order_by: ['desc', 'desc']}
|
||||
let params = {
|
||||
sort_by: ['due_date_unix', 'id'],
|
||||
order_by: ['desc', 'desc'],
|
||||
filter_by: ['done'],
|
||||
filter_value: [false],
|
||||
}
|
||||
if (!this.showAll) {
|
||||
params.startdate = Math.round(+ this.startDate / 1000)
|
||||
params.enddate = Math.round(+ this.endDate / 1000)
|
||||
|
|
Loading…
Reference in a new issue