Merge pull request 'fix: Misleading 'Tax Paid' label — value includes unpaid tax due (#374)' (#503) from fix/issue-374 into master
This commit is contained in:
commit
b2756e8c99
2 changed files with 3 additions and 3 deletions
|
|
@ -247,8 +247,8 @@ test.describe('Dashboard Pages', () => {
|
|||
const currentValue = page.locator('text=/Current Value/i').first();
|
||||
await expect(currentValue).toBeVisible({ timeout: 5_000 });
|
||||
|
||||
// Should show tax paid
|
||||
const taxPaid = page.locator('text=/Tax Paid/i').first();
|
||||
// Should show tax cost
|
||||
const taxPaid = page.locator('text=/Tax Cost/i').first();
|
||||
await expect(taxPaid).toBeVisible({ timeout: 5_000 });
|
||||
|
||||
// Should show net return
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
<div v-if="!error || taxPaidGes !== undefined" class="profit-stats-wrapper">
|
||||
<div class="profit-stats-item">
|
||||
<div><b>Tax Paid</b></div>
|
||||
<div><b>Tax Cost</b></div>
|
||||
<div>{{ taxPaidGes !== undefined ? formatTokenAmount(taxPaidGes) : '...' }} $KRK</div>
|
||||
</div>
|
||||
<div class="profit-stats-item">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue