feat: Add lending positions
All checks were successful
Build Docker / BuildImage (push) Successful in 36s

This commit is contained in:
2024-12-09 15:43:22 +11:00
parent 24cff2a523
commit c3d6e681ce
19 changed files with 104 additions and 32 deletions

View File

@@ -164,7 +164,15 @@
nameCell.style.padding = '8px 20px';
const amountCell = document.createElement('td');
amountCell.textContent = `${data[token].amount} ${token}`;
// If token in other investments
otherInvestments = ["Lending"]
if (otherInvestments.includes(token)) {
amountCell.textContent = `${data[token].amount} Positions`;
}
else {
amountCell.textContent = `${data[token].amount} ${token}`;
}
amountCell.style.border = '1px solid #ccc';
amountCell.style.padding = '8px 20px';