Fix: missing icon import, fix bulk edit cf messages

This commit is contained in:
shamoon
2025-01-11 22:25:12 -08:00
parent 3f05b9f921
commit 6007b252d7
3 changed files with 31 additions and 28 deletions

View File

@@ -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

View File

@@ -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
)
})