Skip to content

Commit

Permalink
Merge pull request #219 from rsksmart/new-search-rns-integration
Browse files Browse the repository at this point in the history
fix: validate url params
  • Loading branch information
ezequiel-rodriguez authored Jun 7, 2024
2 parents 93d59a2 + c5d1264 commit 5637f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default {
const routeName = this.$route.name
const urlParam = this.$route.params.address
// If the parameters are the same when the router changes, we do not request the address information.
if (this.storedRouteName !== routeName || !urlParam) {
if (this.storedRouteName !== routeName || !urlParam || this.storedRouteName !== urlParam) {
// use Date for a random info
this.storedRouteName = routeName || new Date()
this.storedUrlParam = urlParam
Expand Down

0 comments on commit 5637f21

Please sign in to comment.