From 003d96ba9c71326a96f88a60225acd129cc283ca Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Fri, 31 Jul 2020 22:41:21 -0700 Subject: [PATCH] LP1849212: fixes to course associate fields and grid Signed-off-by: Jane Sandberg --- .../course-associate-material.component.html | 24 +++++++--------------- .../course-associate-material.component.ts | 2 +- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html index 724545a030..242357be22 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html @@ -158,16 +158,6 @@ placeholder="e.g. Required" class="flex-grow-1" /> -
-
-
- Relationship -
- -
-
@@ -184,18 +174,18 @@
- Relationship +
-
- + Relationship
-
@@ -213,14 +203,14 @@
- + - - + + 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 5fdd40437a..541ea1a8b1 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 @@ -28,7 +28,7 @@ export class CourseAssociateMaterialComponent extends DialogComponent implements @Input() displayMode: String; materials: any[] = []; @ViewChild('editDialog', { static: true }) editDialog: FmRecordEditorComponent; - @ViewChild('materialsGrid', {static: true}) materialsGrid: GridComponent; + @ViewChild('materialsGrid', {static: false}) materialsGrid: GridComponent; @ViewChild('materialDeleteFailedString', { static: true }) materialDeleteFailedString: StringComponent; @ViewChild('materialDeleteSuccessString', { static: true }) -- 2.11.0