Basic bulk editor component

This commit is contained in:
Michael Shamoon
2020-12-14 23:14:19 -08:00
parent 2e42959763
commit 5850daf208
7 changed files with 111 additions and 12 deletions

View File

@@ -52,6 +52,10 @@ export class DocumentListComponent implements OnInit {
return DOCUMENT_SORT_FIELDS
}
get isBulkEditing(): boolean {
return this.list.selected.size > 0
}
saveDisplayMode() {
localStorage.setItem('document-list:displayMode', this.displayMode)
}