moveToInbox action + actions array in bulkActions component

This commit is contained in:
Jeffrey Biles
2020-03-18 02:06:31 -07:00
parent 279e72dbbf
commit efdfb2d516
4 changed files with 21 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ export const useEmailSelection = function(){
markRead(){ this.forSelected(e => e.read = true )},
markUnread(){ this.forSelected(e => e.read = false )},
archive(){ this.forSelected(e => e.archived = true); this.clear();},
moveToInbox(){ this.forSelected(e => e.archived = false); this.clear();}
})
return {