mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-17 13:14:54 +00:00
Archive filtering and bulk action button
This commit is contained in:
@@ -27,6 +27,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();},
|
||||
})
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user