Basic bulk editor component

This commit is contained in:
Michael Shamoon 2020-12-14 23:14:19 -08:00
parent 3b2bc292d8
commit b45bd66573
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)
}