funds: add toast upon succesful rollover
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 3 Jun 2021 19:59:15 +0000 (15:59 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 3 Jun 2021 19:59:15 +0000 (15:59 -0400)
LH#31

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/admin/acq/funds/fund-rollover-dialog.component.ts

index 45fa7c9..c7f995d 100644 (file)
@@ -133,6 +133,10 @@ export class FundRolloverDialogComponent
             () => {
                 this.isProcessing = false;
                 this.showResults = true;
+                if (!this.dryRun) {
+                    this.successString.current()
+                        .then(str => this.toast.success(str));
+                }
                 // note that we're intentionally not closing the dialog
                 // so that user can view the results
             }