Skip to content

Commit

Permalink
Merge pull request #288 from lukewwww/main
Browse files Browse the repository at this point in the history
[bug-fix] enable op buttons when gas fee is enough
  • Loading branch information
lukewwww authored Jul 22, 2024
2 parents ec7b76d + 4653865 commit fa18778
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webui/src/components/dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ const copyText = async (text) => {
:icon="h(PauseCircleOutlined)"
@click="sendNodeAction('pause')"
:loading="isTxSending || nodeStatus.tx_status === nodeAPI.TX_STATUS_PENDING"
:disabled="!ethEnough()"
:disabled="!ethEnoughForGas()"
>Pause
</a-button
>
Expand All @@ -555,7 +555,7 @@ const copyText = async (text) => {
:icon="h(LogoutOutlined)"
@click="sendNodeAction('stop')"
:loading="isTxSending || nodeStatus.tx_status === nodeAPI.TX_STATUS_PENDING"
:disabled="!ethEnough()"
:disabled="!ethEnoughForGas()"
>Stop
</a-button
>
Expand All @@ -577,7 +577,7 @@ const copyText = async (text) => {
:icon="h(PlayCircleOutlined)"
@click="sendNodeAction('resume')"
:loading="isTxSending || nodeStatus.tx_status === nodeAPI.TX_STATUS_PENDING"
:disabled="!ethEnough()"
:disabled="!ethEnoughForGas()"
>Resume
</a-button
>
Expand Down

0 comments on commit fa18778

Please sign in to comment.