Hide line items by default for confirmed reimbursements

This commit is contained in:
2024-03-14 17:49:12 +01:00
parent 49b3825af4
commit 3ee140723c
4 changed files with 29 additions and 2 deletions
@@ -1,5 +1,6 @@
<li data-reimbursement-id={{@reimbursement.id}}
class="{{item-status @reimbursement}}">
class="{{item-status @reimbursement}}"
{{on "click" this.toggleExpenseDetails}}>
<p class="meta">
<span class="recipient">
<UserAvatar @contributor={{@reimbursement.contributor}} />
@@ -13,7 +14,9 @@
{{sats-to-btc @reimbursement.amount}}</span>&#8239;<span class="symbol">BTC</span>
</p>
{{#if this.showExpenseDetails}}
<ExpenseList @expenses={{@reimbursement.expenses}} />
{{/if}}
<div class="meta">
<p class="confirmation-eta">