File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/create-invoice-form/src/lib Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 7676 let formData = getInitialFormData ();
7777 let defaultCurrencies = currencyManager .knownCurrencies .filter (
7878 (currency : CurrencyTypes .CurrencyDefinition ) =>
79- currency .type === Types .RequestLogic .CURRENCY .ISO4217 ||
80- network ? currency .network === network : true
79+ currency .type === Types .RequestLogic .CURRENCY .ISO4217 || network
80+ ? currency .network === network
81+ : true
8182 );
8283
8384 const handleInvoiceCurrencyChange = (
8788 network = undefined ;
8889 currency = undefined ;
8990
90- if (invoiceCurrency && invoiceCurrency .type === Types .RequestLogic .CURRENCY .ISO4217 ) {
91+ if (
92+ invoiceCurrency &&
93+ invoiceCurrency .type === Types .RequestLogic .CURRENCY .ISO4217
94+ ) {
9195 networks = getCurrencySupportedNetworksForConversion (
9296 invoiceCurrency .hash ,
9397 currencyManager
You can’t perform that action at this time.
0 commit comments