mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Fix: missing icon import, fix bulk edit cf messages
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
ReactiveFormsModule,
|
||||
} from '@angular/forms'
|
||||
import { NgbAccordionModule, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'
|
||||
import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
|
||||
import { first } from 'rxjs'
|
||||
import { Correspondent } from 'src/app/data/correspondent'
|
||||
import { CustomField, CustomFieldDataType } from 'src/app/data/custom-field'
|
||||
@@ -154,6 +155,7 @@ const TRIGGER_MATCHING_ALGORITHMS = MATCHING_ALGORITHMS.filter(
|
||||
NgbAccordionModule,
|
||||
NgTemplateOutlet,
|
||||
DragDropModule,
|
||||
NgxBootstrapIconsModule,
|
||||
],
|
||||
})
|
||||
export class WorkflowEditDialogComponent
|
||||
|
@@ -879,9 +879,7 @@ export class BulkEditorComponent
|
||||
|
||||
dialog.documents = Array.from(this.list.selected)
|
||||
dialog.succeeded.subscribe((result) => {
|
||||
this.toastService.showInfo(
|
||||
$localize`Bulk operation executed successfully`
|
||||
)
|
||||
this.toastService.showInfo($localize`Custom fields updated.`)
|
||||
this.list.reload()
|
||||
this.list.reduceSelectionToFilter()
|
||||
this.list.selected.forEach((id) => {
|
||||
@@ -890,7 +888,7 @@ export class BulkEditorComponent
|
||||
})
|
||||
dialog.failed.subscribe((error) => {
|
||||
this.toastService.showError(
|
||||
$localize`Error executing bulk operation`,
|
||||
$localize`Error updating custom fields.`,
|
||||
error
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user