LP#1849212: (follow-up) fix edit course user dialog
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:13:31 +0000 (21:13 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 01:13:31 +0000 (21:13 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts

index 55d77b4..f2aa9de 100644 (file)
@@ -105,7 +105,7 @@ export class CourseAssociateUsersComponent extends DialogComponent implements On
 
     showEditDialog(user: IdlObject): Promise<any> {
         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 => {