Add account status to account info.

This commit is contained in:
Spencer Ofwiti 2021-05-26 19:02:06 +03:00
parent e5d555577e
commit 384071d3db

View File

@ -212,10 +212,7 @@
<td>{{account?.balance | tokenRatio}}</td> <td>{{account?.balance | tokenRatio}}</td>
<td>{{account?.date_registered | unixDate}}</td> <td>{{account?.date_registered | unixDate}}</td>
<td> <td>
<span *ngIf="accountStatus === 'active'" class="badge badge-success badge-pill"> <span class="badge badge-success badge-pill">
{{accountStatus}}
</span>
<span *ngIf="accountStatus === 'blocked'" class="badge badge-danger badge-pill">
{{accountStatus}} {{accountStatus}}
</span> </span>
</td> </td>