diff --git a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts index f89dca267059c9956e222ef13b2ce1ce5776ced3..7529dadb1c988f8fdbb4ca890e6de88e22facc15 100644 --- a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts +++ b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts @@ -52,8 +52,7 @@ export class DialogActionButtonsComponent implements OnInit { */ @Input() cancelButtonClickAction: (Function | undefined); - @Input() resetButtonClickAction: (Function | undefined); - + /** * TRUE if some spacing will be rendered above the action buttons. */ diff --git a/src/app/components/shared/header/header.component.html b/src/app/components/shared/header/header.component.html index 79b6b864862048df401d7b529a2d4bd3b8a44433..c489ff04be20e332e72154a42462a331c8a43801 100644 --- a/src/app/components/shared/header/header.component.html +++ b/src/app/components/shared/header/header.component.html @@ -16,7 +16,7 @@ {{cTime}} </h2> - <ng-container *ngIf="room.closed"> + <ng-container *ngIf="room && room.closed"> <h1>{{'header.questions-blocked'|translate}}</h1> </ng-container>