Skip to content

Commit

Permalink
Fix contract data reset on address change
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevPM committed Sep 22, 2023
1 parent 6d642ef commit 63a0792
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/contract/Contract.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ export default {
this.getMetadata();
},
getInfo() {
this.onChainViews = [];
this.tokensTotal = 0;
this.metadata = null;
return this.api.getAccountInfo(this.network, this.address)
},
handleInfo(info) {
Expand Down

0 comments on commit 63a0792

Please sign in to comment.