fix: make invite button go to course invite page (#4103)

This commit is contained in:
ggurdin 2025-09-23 12:13:15 -04:00 committed by GitHub
parent a38f7c4357
commit 4efe9106a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,7 @@ class _ActivityStartButtons extends StatelessWidget {
style: buttonStyle,
onPressed: controller.courseParent?.canInvite ?? false
? () => context.go(
"/rooms/spaces/${controller.activityRoom!.id}/invite",
"/rooms/spaces/${controller.courseParent!.id}/invite",
)
: null,
child: Row(