frontend: Update room navigation to remove detail from route path
This commit is contained in:
parent
b9550aced9
commit
87645efb3c
@ -240,7 +240,7 @@ export class RoomsComponent implements OnInit {
|
||||
|
||||
async onRoomClick(roomId: string) {
|
||||
try {
|
||||
await this.navigationService.navigateTo(`/rooms/${roomId}/detail`);
|
||||
await this.navigationService.navigateTo(`/rooms/${roomId}`);
|
||||
} catch (error) {
|
||||
this.notificationService.showSnackbar('Error navigating to room detail');
|
||||
this.log.e('Error navigating to room detail:', error);
|
||||
|
||||
@ -39,7 +39,7 @@ export const roomsConsoleRoutes: DomainRouteConfig[] = [
|
||||
},
|
||||
{
|
||||
route: {
|
||||
path: 'rooms/:roomId/detail',
|
||||
path: 'rooms/:roomId',
|
||||
loadComponent: () => import('../pages/room-detail/room-detail.component').then((m) => m.RoomDetailComponent)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user