Skip to content

Commit

Permalink
[fix][696] not show method with create contract (#3658)
Browse files Browse the repository at this point in the history
* [update][655] style event log after add ff (#3637)

* fix event log

* update responsive for mobile

* update: decode tuple in data

* fix: style event log

* feat: update method UI

* feat: update method logic check

* fix: not show method with create contract
  • Loading branch information
TranTrungTien committed Jul 30, 2024
1 parent ce7ab6d commit 825d415
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export class EvmTransactionComponent implements OnChanges {
this.transactionService.getListMappingName(methodId).subscribe((res) => {
this.method = mappingMethodName(res, methodId);
if (!this.isEvmContract) this.method = 'Send';
if (!this.transaction?.to) this.method = 'Create Contract';
});
}

Expand All @@ -148,7 +147,7 @@ export class EvmTransactionComponent implements OnChanges {
this.getMethod();
},
});
}
} else this.method = 'Create Contract'
}

parseEvmTx(tx: unknown): typeof this.transaction {
Expand Down

0 comments on commit 825d415

Please sign in to comment.