diff --git a/index.html b/index.html index ea6b63c..bce2ef6 100644 --- a/index.html +++ b/index.html @@ -99,7 +99,7 @@ Create Term - + Add investors to existing fund @@ -116,7 +116,7 @@ Base BTC value ($) - + Base USD rate (₹) @@ -138,7 +138,7 @@ - + Add new @@ -10437,11 +10437,11 @@ Bitcoin.Util = { function getAddedInvestors(){ const allInvestorsInput = getRef('investors_input_list').querySelectorAll('.investor-input') - const addedInvestors = {} + const addedInvestors = [] allInvestorsInput.forEach(investor => { const floId = investor.children[0].value const amount = investor.children[1].value - addedInvestors[floId] = amount + addedInvestors.push([floId, amount]) }) return addedInvestors } @@ -10478,6 +10478,7 @@ Bitcoin.Util = {