Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jun 15, 2022
1 parent 395062c commit 3e3f882
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/InternalOperation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ export default {
},
consumedGas() {
if (this.data && this.data.consumed_gas) {
let s = this.$options.filters.milligas(this.data.consumed_gas);
let s = `${this.data.consumed_gas}`;
if (this.data.consumed_gas > this.gasLimit) {
s = this.$options.filters.milligas(this.data.consumed_gas);
}
if (this.gasLimit > 0) {
s += ` (${(
(this.data.consumed_gas * 100 / 1000) /
Expand Down
2 changes: 1 addition & 1 deletion src/views/contract/OperationsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
v-on="on"
></v-text-field>
</template>
<v-date-picker v-model="datesBuf" scrollable range show-current>
<v-date-picker v-model="datesBuf" min="2018-06-30" scrollable range show-current>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="datesModal = false"
>Cancel</v-btn
Expand Down

0 comments on commit 3e3f882

Please sign in to comment.