File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/create-invoice-form/src/lib/invoice Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 29
29
export let handleNetworkChange: (chainId : string ) => void ;
30
30
export let networks;
31
31
export let defaultCurrencies: any = [];
32
- export let filteredSettlementCurrencies: CurrencyTypes .CurrencyDefinition [] = [];
32
+ export let filteredSettlementCurrencies: CurrencyTypes .CurrencyDefinition [] =
33
+ [];
33
34
export let cipherProvider: CipherProviderTypes .ICipherProvider | undefined ;
34
35
35
36
export let invoiceCurrencyDropdown;
161
162
162
163
$ : if (! formData .dueDate ) {
163
164
formData .dueDate = inputDateFormat (
164
- new Date (new Date (formData .issuedOn ).getTime () + 24 * 60 * 60 * 1000 )
165
+ new Date (new Date (formData .issuedOn ).getTime () + 30 * 24 * 60 * 60 * 1000 )
165
166
);
166
167
}
167
168
</script >
406
407
<SearchableDropdown
407
408
bind:this ={invoiceCurrencyDropdown }
408
409
getValue ={(currency ) => currency .value .symbol }
409
- getDisplayValue ={(currency ) =>
410
- ` ${currency .value .symbol } ` }
410
+ getDisplayValue ={(currency ) => ` ${currency .value .symbol } ` }
411
411
placeholder =" Invoice currency"
412
412
items ={defaultCurrencies
413
413
?.filter ((curr ) => curr )
419
419
onSelect ={handleInvoiceCurrencyChange }
420
420
/>
421
421
</div >
422
- <div class =" searchable-dropdown-container" >
422
+ <div class =" searchable-dropdown-container" >
423
423
<SearchableDropdown
424
424
bind:this ={networkDropdown }
425
425
items ={networks
You can’t perform that action at this time.
0 commit comments