From 1d74a99d2ffaecef14f15124451e258dc883f906 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 19 Dec 2023 13:17:26 +0700 Subject: [PATCH] Update frontend/src/app/components/transaction/transaction.component.ts Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com> --- .../src/app/components/transaction/transaction.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts index f110c0435..1ee8a3ad6 100644 --- a/frontend/src/app/components/transaction/transaction.component.ts +++ b/frontend/src/app/components/transaction/transaction.component.ts @@ -439,7 +439,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy { block_time: block.timestamp, }; this.stateService.markBlock$.next({ blockHeight: block.height }); - if (this.accelerationInfo && ['accelerating', 'mined', 'completed'].includes(this.accelerationInfo.status)) { + if (this.tx.acceleration || (this.accelerationInfo && ['accelerating', 'mined', 'completed'].includes(this.accelerationInfo.status))) { this.audioService.playSound('wind-chimes-harp-ascend'); } else { this.audioService.playSound('magic');