mirror of
				https://github.com/nkanaev/yarr.git
				synced 2025-10-30 06:31:07 +00:00 
			
		
		
		
	clear items when mark as read
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user