From 7605155fc8499fd417eeef999cb2b2be8abe921b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 14 Sep 2020 21:12:24 -0400 Subject: [PATCH] LP#1849212: (follow-up) refresh grid upon removing course material Signed-off-by: Galen Charlton --- .../local/course-reserves/course-associate-material.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts index bb695193dd..9a8264cb8e 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts @@ -217,6 +217,8 @@ export class CourseAssociateMaterialComponent extends DialogComponent implements this.materialDeleteFailedString.current() .then(str => this.toast.danger(str)); } - ); + ).add(() => { + this.materialsGrid.reload(); + }); } } -- 2.11.0