Sort tasks by done/undone first and then newest

This commit is contained in:
kolaente 2019-10-19 21:26:52 +02:00
parent cad4df5558
commit b2408eef04
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -48,6 +48,11 @@ export default class ListModel extends AbstractModel {
return -1
if (a.done > b.done)
return 1
if (a.id > b.id)
return -1
if (a.id < b.id)
return 1
return 0
})
}