Skip to content

Commit

Permalink
Fix: unuseful requests (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Jul 18, 2023
1 parent 09c7ad7 commit ce2dcf6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/contract/OperationsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ import ContentItem from "@/views/contract/ContentItem.vue";
import EmptyState from "@/components/Cards/EmptyState.vue";
import dayjs from "dayjs";
import AccountBox from "../../components/Dialogs/AccountBox";
import { isKT1Address } from '@/utils/tz.js';
export default {
name: "OperationsTab",
Expand Down Expand Up @@ -198,8 +199,10 @@ export default {
created() {
this.fetchOperations();
this.getUsedBytes();
this.getPaidUsed();
if (isKT1Address(this.address)){
this.getUsedBytes();
this.getPaidUsed();
}
},
computed: {
searchable() {
Expand Down

0 comments on commit ce2dcf6

Please sign in to comment.