patientview takes in signedIn user
This commit is contained in:
@@ -55,10 +55,10 @@ class RouteGenerator {
|
|||||||
return _errorRoute();
|
return _errorRoute();
|
||||||
|
|
||||||
case '/patient-manager/patient':
|
case '/patient-manager/patient':
|
||||||
if (args is Patient) {
|
if (args is AppUser) {
|
||||||
return MaterialPageRoute(
|
return MaterialPageRoute(
|
||||||
builder: (_) => PatientView(
|
builder: (_) => PatientView(
|
||||||
selectedPatient: args,
|
signedInUser: args,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user