From 98434f9b4dec67d73a4ead6d13e3749a01ad96ac Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 14 Sep 2020 21:13:31 -0400 Subject: [PATCH] LP#1849212: (follow-up) fix edit course user dialog Signed-off-by: Galen Charlton --- .../admin/local/course-reserves/course-associate-users.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts index 55d77b43df..f2aa9de5b4 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts @@ -105,7 +105,7 @@ export class CourseAssociateUsersComponent extends DialogComponent implements On showEditDialog(user: IdlObject): Promise { this.editDialog.mode = 'update'; - this.editDialog.recordId = user._id; + this.editDialog.recordId = user.id(); return new Promise((resolve, reject) => { this.editDialog.open({size: 'lg'}).subscribe( result => { -- 2.11.0