From 3ff846e117a0c3fc7f56d8371f6f94c54631ef31 Mon Sep 17 00:00:00 2001 From: Philipp Sautner <philipp.sautner@hotmail.com> Date: Wed, 21 Jul 2021 09:22:21 +0200 Subject: [PATCH] attempts to fix routing issue when clicking the quiz button --- src/app/components/shared/header/header.component.html | 2 +- src/app/components/shared/shared-routing.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/shared/header/header.component.html b/src/app/components/shared/header/header.component.html index b1f558e1f..c94a05def 100644 --- a/src/app/components/shared/header/header.component.html +++ b/src/app/components/shared/header/header.component.html @@ -174,7 +174,7 @@ <button mat-menu-item tabindex="0" - routerLink="participant/room/{{shortId}}/comments/quiznow"> + routerLink="participant/room/{{shortId}}/comments/quiz"> <mat-icon>school </mat-icon> <span>{{'header.quiz-now' | translate}}</span> diff --git a/src/app/components/shared/shared-routing.module.ts b/src/app/components/shared/shared-routing.module.ts index 8211ca0e7..7b3a94a82 100644 --- a/src/app/components/shared/shared-routing.module.ts +++ b/src/app/components/shared/shared-routing.module.ts @@ -18,7 +18,7 @@ const routes: Routes = [ }, { - path: 'room/:shortId/comments/quiznow', + path: 'room/:shortId/comments/quiz', component: QuizNowComponent, data: { roles: [ UserRole.CREATOR, -- GitLab