From c5d12642e881573719cff20707674ce9f7935a88 Mon Sep 17 00:00:00 2001 From: Carlos Rosado Date: Fri, 7 Jun 2024 10:57:24 -0600 Subject: [PATCH] fix: validate that the parameter has not been the same before or is null --- src/components/DataPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DataPage.vue b/src/components/DataPage.vue index ebb52acc..9c77ab29 100644 --- a/src/components/DataPage.vue +++ b/src/components/DataPage.vue @@ -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