mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-28 09:59:50 -04:00
Only show tabs if there are more than one
This commit is contained in:
parent
02cef20cd0
commit
eff29f6f92
@ -14,7 +14,7 @@
|
||||
</span>
|
||||
</mat-toolbar>
|
||||
<mat-dialog-content class="content">
|
||||
<mat-tab-group>
|
||||
<mat-tab-group *ngIf="strongsResults.length > 1">
|
||||
<mat-tab *ngFor="let card of strongsResults">
|
||||
<ng-template mat-tab-label>{{ card.prefix }}{{ card.sn }}</ng-template>
|
||||
<app-strongs
|
||||
@ -23,4 +23,10 @@
|
||||
></app-strongs>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
<ng-container *ngIf="strongsResults.length === 1">
|
||||
<app-strongs
|
||||
[data]="strongsResults[0]"
|
||||
(openPassage)="openPassage($event)"
|
||||
></app-strongs>
|
||||
</ng-container>
|
||||
</mat-dialog-content>
|
||||
|
Loading…
x
Reference in New Issue
Block a user