diff --git a/services/web/frontend/js/pages/user/subscription/plans-v2/plans-v2-hash.js b/services/web/frontend/js/pages/user/subscription/plans-v2/plans-v2-hash.js index cfc6add521..83ba26a950 100644 --- a/services/web/frontend/js/pages/user/subscription/plans-v2/plans-v2-hash.js +++ b/services/web/frontend/js/pages/user/subscription/plans-v2/plans-v2-hash.js @@ -24,7 +24,7 @@ export function getViewInfoFromHash() { */ export function setHashFromViewTab(viewTab, period) { const newHash = viewTab === 'group' ? 'group' : `${viewTab}-${period}` - if (window.location.hash.substring(1)) { + if (window.location.hash.substring(1) !== newHash) { window.location.hash = newHash } }