Skip to content

Commit db13315

Browse files
author
Jeppe Elkjær Jørgensen
committed
IOT-477 fix. now get correct param
1 parent 0674b0c commit db13315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/admin/users/user-edit/user-edit.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class UserEditComponent implements OnInit {
4444
this.title = translations['FORM.EDIT-USERS'];
4545
this.submitButton = translations['USERS.SAVE'];
4646
});
47-
this.id = +this.route.snapshot.paramMap.get('org-id');
47+
this.id = +this.route.snapshot.paramMap.get('user-id');
4848
if (this.id > 0) {
4949
this.getUser(this.id);
5050
}

0 commit comments

Comments
 (0)