54472: refactoring feedback pt1

This commit is contained in:
Kristof De Langhe
2018-09-05 16:31:06 +02:00
parent 8a52bf1682
commit e7c5a2a29c
10 changed files with 133 additions and 103 deletions

View File

@@ -1,7 +1,7 @@
<div class="container">
<div class="row">
<div class="col-12 pb-4">
<ng-container *ngVar="(communityRDObs | async).payload as community">
<ng-container *ngVar="(communityRDObs | async)?.payload as community">
<h2 *ngIf="!community" id="header" class="border-bottom pb-2">{{ 'collection.create.head' | translate }}</h2>
<h2 *ngIf="community" id="sub-header" class="border-bottom pb-2">{{ 'collection.create.sub-head' | translate:{ parent: community.name } }}</h2>
</ng-container>