1
0
mirror of https://github.com/bitwarden/web synced 2025-12-29 22:53:17 +00:00

dont send token when null

This commit is contained in:
Kyle Spearrin
2019-02-21 00:03:40 -05:00
parent 22727b5abe
commit cdfd828a8b
2 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<i class="fa fa-spinner fa-spin text-muted" *ngIf="!firstLoaded && loading" title="{{'loading' | i18n}}"></i>
<ng-container *ngIf="billing">
<h2>{{(isCreditBalance ? 'accountCredit' : 'accountBalance') | i18n}}</h2>
<p><strong>{{creditOrBalance | currency:'$'}}</strong></p>
<p class="text-lg"><strong>{{creditOrBalance | currency:'$'}}</strong></p>
<p>{{'creditAppliedDesc' | i18n}}</p>
<button type="button" class="btn btn-outline-secondary" (click)="addCredit()" *ngIf="!showAddCredit">
{{'addCredit' | i18n}}