Website: Update primary tagline partial (#19948)

Changes:
- Added a typeof check to the primary tagline partial to prevent
warnings from being logged when requests are sent to URLs that are seen
as assets but don't exist on the server.
This commit is contained in:
Eric 2024-06-23 21:26:13 -05:00 committed by GitHub
parent 970f8ea7ca
commit 057781b5e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1 +1 @@
<%= primaryBuyingSituation === 'mdm' ? 'Your last MDM migration' : primaryBuyingSituation === 'vm' ? 'Focus on vulnerabilities, not vendors' : primaryBuyingSituation === 'eo-security' ? 'Light in every corner' : primaryBuyingSituation === 'eo-it' ? 'Untangle your endpoints' : 'Let people work' %>
<%= typeof primaryBuyingSituation !== 'undefined' ? (primaryBuyingSituation === 'mdm' ? 'Your last MDM migration' : primaryBuyingSituation === 'vm' ? 'Focus on vulnerabilities, not vendors' : primaryBuyingSituation === 'eo-security' ? 'Light in every corner' : primaryBuyingSituation === 'eo-it' ? 'Untangle your endpoints' : 'Let people work') : 'Let people work' %>