mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-30 11:09: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>
|
</span>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
<mat-dialog-content class="content">
|
<mat-dialog-content class="content">
|
||||||
<mat-tab-group>
|
<mat-tab-group *ngIf="strongsResults.length > 1">
|
||||||
<mat-tab *ngFor="let card of strongsResults">
|
<mat-tab *ngFor="let card of strongsResults">
|
||||||
<ng-template mat-tab-label>{{ card.prefix }}{{ card.sn }}</ng-template>
|
<ng-template mat-tab-label>{{ card.prefix }}{{ card.sn }}</ng-template>
|
||||||
<app-strongs
|
<app-strongs
|
||||||
@ -23,4 +23,10 @@
|
|||||||
></app-strongs>
|
></app-strongs>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
</mat-tab-group>
|
</mat-tab-group>
|
||||||
|
<ng-container *ngIf="strongsResults.length === 1">
|
||||||
|
<app-strongs
|
||||||
|
[data]="strongsResults[0]"
|
||||||
|
(openPassage)="openPassage($event)"
|
||||||
|
></app-strongs>
|
||||||
|
</ng-container>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user