@if (loading()) {
} @else if (transactions().length === 0) {
receipt_long
No transactions yet
} @else {
@for (tx of transactions(); track tx.id) {
@switch (tx.status) {
@case ('CONFIRMED') {
check_circle
}
@case ('PENDING') {
schedule
}
@case ('FAILED') {
error
}
}
{{ getTxTypeIcon(tx.type) }}
{{ formatTxType(tx.type) }}
{{ getRelativeTime(tx.timestamp) }}
}
}