Fix pool get blocks API undefined start block behavior

This commit is contained in:
nymkappa
2022-03-16 20:19:39 +01:00
parent 5326f34f66
commit 32f38cddba
4 changed files with 14 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
<tbody>
<tr>
<td class="label">Tags</td>
<td class="text-truncate">
<td class="text-truncate" *ngIf="poolStats.pool.regexes.length else nodata">
<div class="scrollable">
{{ poolStats.pool.regexes }}
</div>
@@ -22,15 +22,15 @@
</tr>
<tr>
<td class="label">Addresses</td>
<td class="text-truncate" *ngIf="poolStats.pool.addresses.length else noaddress">
<td class="text-truncate" *ngIf="poolStats.pool.addresses.length else nodata">
<div class="scrollable">
<a *ngFor="let address of poolStats.pool.addresses"
[routerLink]="['/address' | relativeUrl, address]">{{
address }}<br></a>
</div>
</td>
<ng-template #noaddress>
<td>~</td>
<ng-template #nodata>
<td class="right-mobile">~</td>
</ng-template>
</tr>
</tbody>
@@ -168,7 +168,7 @@
<div class="skeleton-loader"></div>
</div>
</td>
<ng-template #noaddress>
<ng-template #nodata>
<td>~</td>
</ng-template>
</tr>

View File

@@ -131,3 +131,9 @@ div.scrollable {
width: auto;
text-align: left;
}
.right-mobile {
@media (max-width: 450px) {
text-align: right;
}
}