From 4017df9f1bd9e054e3e98fb962f331a80ade1139 Mon Sep 17 00:00:00 2001 From: Nazar Usov Date: Thu, 25 Apr 2024 16:05:11 +0300 Subject: [PATCH] Update identification transaction initiator --- .../src/app/pages/wallet/tabs/history/history.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html_source/src/app/pages/wallet/tabs/history/history.component.ts b/html_source/src/app/pages/wallet/tabs/history/history.component.ts index 691fa8f9..488bafd0 100644 --- a/html_source/src/app/pages/wallet/tabs/history/history.component.ts +++ b/html_source/src/app/pages/wallet/tabs/history/history.component.ts @@ -468,8 +468,8 @@ export class HistoryComponent implements OnInit, OnDestroy { isInitiator(transaction: Transaction): boolean { const { employed_entries: { spent= [] } } = transaction; - return Boolean(spent?.find(({ asset_id, index }) => { - return index === 0 && asset_id === zanoAssetInfo.asset_id; + return Boolean(spent?.find(({ index }) => { + return index === 0; })); }