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: {
|
methods: {
|
||||||
loadPendingTasks() {
|
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) {
|
if (!this.showAll) {
|
||||||
params.startdate = Math.round(+ this.startDate / 1000)
|
params.startdate = Math.round(+ this.startDate / 1000)
|
||||||
params.enddate = Math.round(+ this.endDate / 1000)
|
params.enddate = Math.round(+ this.endDate / 1000)
|
||||||
|
|
Loading…
Add table
Reference in a new issue