LP#1849212: (follow-up) refresh grid upon removing course material
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:12:24 +0000 (21:12 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:12:24 +0000 (21:12 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts

index bb69519..9a8264c 100644 (file)
@@ -217,6 +217,8 @@ export class CourseAssociateMaterialComponent extends DialogComponent implements
                 this.materialDeleteFailedString.current()
                     .then(str => this.toast.danger(str));
             }
-        );
+        ).add(() => {
+            this.materialsGrid.reload();
+        });
     }
 }