Hide balance unless insufficient for max cost

This commit is contained in:
Mononaut 2023-08-31 00:15:09 +09:00
parent ed12e30517
commit d6044331e1
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -228,6 +228,7 @@
</ng-container> </ng-container>
<!-- USER BALANCE --> <!-- USER BALANCE -->
<ng-container *ngIf="estimate.userBalance < maxCost">
<tr class="group-first group-last" style="border-top: 1px dashed grey"> <tr class="group-first group-last" style="border-top: 1px dashed grey">
<td class="item"> <td class="item">
Available balance Available balance
@ -242,6 +243,7 @@
</span> </span>
</td> </td>
</tr> </tr>
</ng-container>
</tbody> </tbody>
</table> </table>
</div> </div>