Skip to content
Snippets Groups Projects
Commit 849571c7 authored by Ruben Bimberg's avatar Ruben Bimberg :computer:
Browse files

Add gavel icon to room page

parent 9edf2406
No related merge requests found
......@@ -20,6 +20,9 @@
</button>
</mat-card-title>
<mat-card-subtitle fxLayoutAlign="center">
<mat-icon *ngIf="moderationEnabled" class="gavel">
gavel
</mat-icon>
<span class="room-short-id">
{{ 'room-page.session-id' | translate}}: {{ room.shortId }}
</span>
......
......@@ -47,7 +47,7 @@ export class RoomModeratorPageComponent extends RoomPageComponent implements OnI
this.roomService.getRoomByShortId(id).subscribe(room => {
this.room = room;
this.isLoading = false;
this.moderationEnabled = this.room.moderated;
this.moderationEnabled = !this.room.directSend;
if (this.moderationEnabled) {
this.viewModuleCount = this.viewModuleCount + 1;
}
......
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