chore: Better routing to space id
This commit is contained in:
parent
765bff9e32
commit
70c5f03e8d
3 changed files with 7 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ abstract class AppRoutes {
|
|||
? TwoColumnLayout(
|
||||
mainView: ChatList(
|
||||
activeChat: state.pathParameters['roomid'],
|
||||
activeSpace: state.uri.queryParameters['spaceId'],
|
||||
displayNavigationRail:
|
||||
state.path?.startsWith('/rooms/settings') != true,
|
||||
),
|
||||
|
|
@ -132,6 +133,7 @@ abstract class AppRoutes {
|
|||
? const EmptyPage()
|
||||
: ChatList(
|
||||
activeChat: state.pathParameters['roomid'],
|
||||
activeSpace: state.uri.queryParameters['spaceId'],
|
||||
),
|
||||
),
|
||||
routes: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue