diff --git a/website/assets/js/pages/pricing.page.js b/website/assets/js/pages/pricing.page.js index 37a7118abc..4efd110f4b 100644 --- a/website/assets/js/pages/pricing.page.js +++ b/website/assets/js/pages/pricing.page.js @@ -13,7 +13,17 @@ parasails.registerPage('pricing', { // ║ ║╠╣ ║╣ ║ ╚╦╝║ ║ ║╣ // ╩═╝╩╚ ╚═╝╚═╝ ╩ ╚═╝╩═╝╚═╝ beforeMount: function() { - if(this.primaryBuyingSituation){ + // Switch the pricing features table's mode and show all features if a user visits /pricing#it or /pricing#security + if(window.location.hash){ + if(window.location.hash.toLowerCase() === '#it') { + this.pricingMode = 'IT'; + this.showExpandedTable = true; + } else if(window.location.hash.toLowerCase() === '#security'){ + this.pricingMode = 'Security'; + this.showExpandedTable = true; + } + window.location.hash = ''; + } else if(this.primaryBuyingSituation){ if(['eo-security', 'vm'].includes(this.primaryBuyingSituation)){ this.pricingMode = 'Security'; } else {