add business field to calendar navigation

This commit is contained in:
2025-02-25 12:59:05 +02:00
parent f9055f3f05
commit 506f523d79

View File

@@ -249,7 +249,11 @@ class _MIHHomeState extends State<MIHHome> {
onTap: () {
Navigator.of(context).pushNamed(
'/calendar',
arguments: CalendarArguments(widget.signedInUser, true),
arguments: CalendarArguments(
widget.signedInUser,
true,
widget.business,
),
);
},
tileName: "Calendar",
@@ -425,7 +429,11 @@ class _MIHHomeState extends State<MIHHome> {
onTap: () {
Navigator.of(context).pushNamed(
'/calendar',
arguments: CalendarArguments(widget.signedInUser, false),
arguments: CalendarArguments(
widget.signedInUser,
false,
widget.business,
),
);
},
tileName: "Calendar",