Skip to content
Snippets Groups Projects
Commit 978901be authored by Lukas Mauß's avatar Lukas Mauß Committed by Tom Käsler
Browse files

Fix check whether content-groups exist

parent eda9b59a
No related merge requests found
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
{{ 'room-page.delete-room' | translate }} {{ 'room-page.delete-room' | translate }}
</button> </button>
</mat-card-actions> </mat-card-actions>
<app-content-groups *ngIf="room" [contentGroups]="room.contentGroups"></app-content-groups> <app-content-groups *ngIf="room && room.contentGroups" [contentGroups]="room.contentGroups"></app-content-groups>
</mat-card> </mat-card>
<div *ngIf="!isLoading && !room">Error: room could not be found!</div> <div *ngIf="!isLoading && !room">Error: room could not be found!</div>
</div> </div>
......
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