diff --git a/src/app/components/creator/room-creator-page/room-creator-page.component.html b/src/app/components/creator/room-creator-page/room-creator-page.component.html index ac7a221f4b20d0c6ffa09b8773b275fcb3b6dc03..253c7528b9077f1e9a9a4bbf51ad563196eeef8a 100644 --- a/src/app/components/creator/room-creator-page/room-creator-page.component.html +++ b/src/app/components/creator/room-creator-page/room-creator-page.component.html @@ -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> diff --git a/src/app/components/moderator/room-moderator-page/room-moderator-page.component.ts b/src/app/components/moderator/room-moderator-page/room-moderator-page.component.ts index 466dc34e6c8ac31f174be4617257fa90e2fed111..d9303a6a9b6981bbb63d9d0660f0f12244a1e45a 100644 --- a/src/app/components/moderator/room-moderator-page/room-moderator-page.component.ts +++ b/src/app/components/moderator/room-moderator-page/room-moderator-page.component.ts @@ -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; }