Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 626 Bytes
<div class="panel">
<div class="panel-body">
<app-tabset [tabs]="tabs$ | async" [showAddTabButton]="true" (onTabClosing)="closeTab($event)" (onTabAdd)="addTab($event)" (onTabActivated)="activateTab($event)">
<div *ngFor="let t of tabs$ | async" class="content" [ngClass]="{'active': t.active}">
<person-search *ngIf="t.template === 'search'" (doOpen)="openItem($event)"></person-search>
<person-detail *ngIf="t.template === 'item'" [personHolder]="t.item" (saveClicked)="savePerson($event)"></person-detail>
</div>
</app-tabset>
</div>
</div>