mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 20:16:32 +01:00
Minor refactoring
This commit is contained in:
parent
da3695e3a4
commit
400da7bbc5
2 changed files with 5 additions and 11 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue