Skip to content
Snippets Groups Projects
Commit 656dfe7c authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Fix button routes

parent abda1f56
No related merge requests found
......@@ -20,15 +20,14 @@
</button>
</mat-grid-tile>
<mat-grid-tile>
<button class="actionButton" mat-icon-button color="primary" matTooltip="{{ 'room-page.present' | translate}}"
routerLink="/creator/room/{{ roomId }}/contents">
<button class="actionButton" mat-icon-button color="primary" matTooltip="{{ 'room-page.present' | translate}}" (click)="notAvailable()">
<mat-icon class="actionIcon">school</mat-icon>
</button>
</mat-grid-tile>
<mat-grid-tile>
<button class="actionButton" mat-icon-button color="primary"
matTooltip="{{ 'room-page.answer-statistics' | translate}}"
routerLink="/creator/room/{{ roomId }}/contents">
routerLink="/creator/room/{{ roomId }}/statistics">
<mat-icon class="actionIcon">insert_chart</mat-icon>
</button>
</mat-grid-tile>
......
......@@ -71,6 +71,10 @@ export class ContentListComponent implements OnInit {
this.isLoading = false;
}
notAvailable() {
this.notificationService.show('This feature has not been implemented yet!');
}
findIndexOfSubject(subject: string): number {
let index = -1;
for (let i = 0; i < this.contents.length; i++) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment