patientview takes in signedIn user
This commit is contained in:
parent
a826c9b16f
commit
3f557ec1ac
1 changed files with 2 additions and 2 deletions
|
|
@ -55,10 +55,10 @@ class RouteGenerator {
|
|||
return _errorRoute();
|
||||
|
||||
case '/patient-manager/patient':
|
||||
if (args is Patient) {
|
||||
if (args is AppUser) {
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => PatientView(
|
||||
selectedPatient: args,
|
||||
signedInUser: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue