clear items when mark as read
This commit is contained in:
parent
03668131b4
commit
bc627f5d2c
1 changed files with 1 additions and 5 deletions
|
|
@ -102,11 +102,7 @@ var vm = new Vue({
|
|||
var vm = this
|
||||
var query = this.getItemsQuery()
|
||||
api.items.mark_read(query).then(function() {
|
||||
vm.items.forEach(function(item) {
|
||||
if (item.status != 'starred') {
|
||||
item.status = 'read'
|
||||
}
|
||||
})
|
||||
vm.items = []
|
||||
})
|
||||
},
|
||||
toggleFolderExpanded: function(folder) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue