change path to identifier hash

pull/4325/head
nikitosing 3 years ago
parent 0af99ffc77
commit 2491ca8627
  1. 2
      apps/block_scout_web/assets/js/pages/token/search.js
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/bridged_tokens/_tile.html.eex
  3. 2
      apps/block_scout_web/lib/block_scout_web/templates/tokens/_tile.html.eex

@ -25,7 +25,7 @@ export function reducer (state, action) {
}
if ($('[data-page="tokens"]').length) {
const store = createAsyncLoadStore(reducer, initialState, 'childNodes[5].childNodes[1].childNodes[1].dataset.addressHash')
const store = createAsyncLoadStore(reducer, initialState, 'dataset.identifierHash')
store.dispatch({
type: 'PAGE_LOAD'

@ -1,4 +1,4 @@
<tr>
<tr data-identifier-hash=<%= @token.contract_address_hash %>>
<td class="stakes-td">
<!-- incremented number by order in the list -->
<span class="color-lighten">

@ -1,4 +1,4 @@
<tr>
<tr data-identifier-hash=<%= @token.contract_address_hash %>>
<td class="stakes-td">
<!-- incremented number by order in the list -->
<span class="color-lighten">

Loading…
Cancel
Save