change arges to cater for selected patient

This commit is contained in:
2024-08-08 15:28:00 +02:00
parent 09538be196
commit e7523377ff
4 changed files with 16 additions and 6 deletions

View File

@@ -38,11 +38,11 @@ class RouteGenerator {
return _errorRoute();
case '/patient-manager':
if (args is String) {
if (args is AppUser) {
//print("route generator: $args");
return MaterialPageRoute(
builder: (_) => PatientManager(
userEmail: args,
signedInUser: args,
),
);
}