fix save & update memos & memos order

This commit is contained in:
2020-08-01 17:15:15 +02:00
parent f0058bf606
commit c49f226677
3 changed files with 19 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ export default {
methods: {
reorderList() {
this.memos.sort(function(a, b) {
return a.data.last_updated_timestamp + b.data.last_updated_timestamp
return b.data.last_updated_timestamp - a.data.last_updated_timestamp
})
}
}