Skip to content

Commit

Permalink
(BIDS-2455) Added redirect for validator pubkey search
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisei24 committed Oct 4, 2023
1 parent c619c79 commit cfa536c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ $(document).ready(function () {
} else if (sug.index !== undefined) {
if (sug.index === "deposited") window.location = "/validator/" + sug.pubkey
else window.location = "/validator/" + sug.index
} else if (sug.pubkey !== undefined) {
window.location = "/validator/" + sug.pubkey
} else if (sug.epoch !== undefined) {
window.location = "/epoch/" + sug.epoch
} else if (sug.address !== undefined) {
Expand Down

0 comments on commit cfa536c

Please sign in to comment.