Skip to content

Commit

Permalink
fix: disable decode when transaction is send with memo (#3596)
Browse files Browse the repository at this point in the history
* [fix][598] fix set token info

* feat: update UI send method transaction

* fix: send detail transaction

* remove unused code

* Update: check method name

* fix: disable decode when transaction is send with memo
  • Loading branch information
TranTrungTien committed Jul 5, 2024
1 parent 16bb857 commit 966e053
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
<button
*ngIf="isEvmContract || (!isEvmContract && transaction?.memo)"
class="button body-04 {{
!isContractVerified || isCreateContract ? 'text--gray-7 pe-none' : ''
(!isContractVerified || isCreateContract) && isEvmContract ? 'text--gray-7 pe-none' : ''
}} active-gradient"
(click)="changeType(inputDataType.DECODED)"
[class.active-gradient]="typeInput === inputDataType.DECODED"
[disabled]="!isContractVerified || isCreateContract">
[disabled]="(!isContractVerified || isCreateContract) && isEvmContract">
<span>{{ inputDataType.DECODED }}</span>
</button>
<button
Expand Down

0 comments on commit 966e053

Please sign in to comment.