mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Minor refactoring
This commit is contained in:
@@ -108,11 +108,11 @@ export class BulkEditorComponent {
|
||||
}
|
||||
|
||||
applyCorrespondent(selectedCorrespondent: PaperlessCorrespondent[]) {
|
||||
this.setCorrespondent.emit(selectedCorrespondent)
|
||||
this.setCorrespondent.emit(selectedCorrespondent.length > 0 ? selectedCorrespondent.shift() : null)
|
||||
}
|
||||
|
||||
applyDocumentType(selectedDocumentType: PaperlessDocumentType[]) {
|
||||
this.setDocumentType.emit(selectedDocumentType)
|
||||
this.setDocumentType.emit(selectedDocumentType.length > 0 ? selectedDocumentType.shift() : null)
|
||||
}
|
||||
|
||||
applyDelete() {
|
||||
|
Reference in New Issue
Block a user