A few more animations
Fix currency prefix issue
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { getCurrencySymbol } from '@angular/common';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
@@ -39,6 +40,10 @@ export class PaymentComponent implements OnInit {
|
||||
this.backend.setPaymentMethod(coin);
|
||||
}
|
||||
|
||||
currencyPrefix(): string {
|
||||
return getCurrencySymbol(this.backend.invoice.currency, 'narrow');
|
||||
}
|
||||
|
||||
async get(): Promise<void> {
|
||||
await this.backend.setInvoice(this.paymentSelector);
|
||||
this.backend.getConfirmation().catch();
|
||||
|
||||
Reference in New Issue
Block a user