diff --git a/src/app/components/participant/room-participant-page/room-participant-page.component.html b/src/app/components/participant/room-participant-page/room-participant-page.component.html index 791349770f7c482db4bc3a6f92c7623e3a371cd0..c361e9994ecc4f6cb84c41cc0c8c464e4ef89283 100644 --- a/src/app/components/participant/room-participant-page/room-participant-page.component.html +++ b/src/app/components/participant/room-participant-page/room-participant-page.component.html @@ -30,7 +30,7 @@ </mat-grid-tile> <mat-grid-tile> <button mat-icon-button color="primary" matTooltip="{{ 'room-page.give-feedback' | translate}}" - routerLink="/participant/room/{{ room.id }}/feedback-barometer"> + routerLink="/participant/room/{{ room.shortId }}/feedback-barometer"> <mat-icon>thumbs_up_down</mat-icon> </button> </mat-grid-tile> diff --git a/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts b/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts index e4e74b34db01192677db0a4616594af6cd409c0d..3305628f67143578ef89083581a8ff0d301341e2 100644 --- a/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts +++ b/src/app/components/shared/feedback-barometer-page/feedback-barometer-page.component.ts @@ -30,7 +30,7 @@ export class FeedbackBarometerPageComponent implements OnInit { private notification: NotificationService, private rxStompService: RxStompService, private route: ActivatedRoute, ) { - this.roomId = this.route.snapshot.params.roomId; + this.roomId = localStorage.getItem(`roomId`); } ngOnInit() {