mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Refactor selection functions to two separate ones for clarity
This commit is contained in:
@@ -161,7 +161,8 @@ export class DocumentListComponent implements OnInit {
|
||||
}
|
||||
|
||||
toggleSelected(document: PaperlessDocument, event: MouseEvent): void {
|
||||
this.list.toggleSelected(document, event.shiftKey)
|
||||
if (!event.shiftKey) this.list.toggleSelected(document)
|
||||
else this.list.selectRangeTo(document)
|
||||
}
|
||||
|
||||
clickTag(tagID: number) {
|
||||
|
Reference in New Issue
Block a user