Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Aug 17, 2024
1 parent a33d7e7 commit c90d11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ <h6 class="mt-4">Troubleshooting</h6>
<div class="d-flex flex-wrap m-0 p-0">
<div class="mt-0 pr-0" style="width: 25.0rem;">
<b-form-group :state="!settings.contract || validAddress(settings.contract)" :invalid-feedback="'Invalid address'" class="m-0 p-0">
<b-form-input type="text" size="sm" id="explorer-contract" v-model="settings.contract" @change="saveSettings" placeholder="Enter token contract address, or select from dropdown"></b-form-input>
<b-form-input type="text" size="sm" id="explorer-contract" v-model="settings.contract" @change="saveSettings(); loadData(settings.contract);" placeholder="Enter token contract address, or select from dropdown"></b-form-input>
</b-form-group>
</div>
<div class="mt-0 pr-0">
<b-dropdown size="sm" id="dropdown-left" text="" variant="link" v-b-popover.hover.ds500="'Some sample token contracts'" class="m-0 ml-1 p-0">
<b-dropdown-item v-if="sampleContracts('all').length == 0" disabled>No sample contracts on this network</b-dropdown-item>
<div v-for="(item, index) of sampleContracts('all')" v-bind:key="index">
<b-dropdown-item @click="settings.contract = item.contract; saveSettings();">{{ index }}. {{ 'ERC-' + item.type }} {{ item.contract.substring(0, 8) + '...' + item.contract.slice(-6) + ' ' + item.name }}</b-dropdown-item>
<b-dropdown-item @click="settings.contract = item.contract; saveSettings(); loadData(settings.contract);">{{ index }}. {{ 'ERC-' + item.type }} {{ item.contract.substring(0, 8) + '...' + item.contract.slice(-6) + ' ' + item.name }}</b-dropdown-item>
</div>
</b-dropdown>
</div>
Expand Down

0 comments on commit c90d11d

Please sign in to comment.