Wrap duplicate ngIf into a ng-template

This commit is contained in:
nymkappa 2023-02-19 19:30:55 +09:00
parent 6229708dfd
commit c1fc60e61e
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 6 additions and 4 deletions

View File

@ -123,8 +123,10 @@
(pageChange)="pageChange(page)" [boundaryLinks]="true" [ellipses]="false">
</ngb-pagination>
<div *ngIf="!widget" class="clearfix"></div>
<br *ngIf="!widget">
<ng-template [ngIf]="!widget">
<div class="clearfix"></div>
<br *ngIf="!widget">
</ng-template>
</div>
</div>

View File

@ -102,6 +102,6 @@
<a *ngIf="!officialMempoolSpace" [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a>
</div>
</div>
<br>
<br>
</div>