@salesforcedevs/docs-components
Advanced tools
Comparing version 1.3.366 to 1.3.376
{ | ||
"name": "@salesforcedevs/docs-components", | ||
"version": "1.3.366", | ||
"version": "1.3.376", | ||
"description": "Docs Lightning web components for DSC", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "879600edad044c730d365d3737f72f9f5eaec399" | ||
"gitHead": "1f15d560a49d28943329fca9c8cff12aa9edaf71" | ||
} |
@@ -10,2 +10,9 @@ import { api } from "lwc"; | ||
const isStorybook = () => { | ||
const { host } = window.location; | ||
return ( | ||
host === "localhost:6006" || /^dsc-comp.*\.herokuapp\.com$/.test(host) | ||
); | ||
}; | ||
export default class Header extends HeaderBase { | ||
@@ -61,4 +68,3 @@ @api langValuePath: string = "id"; // allows to override how language property is interpreted, follows valuePath dropdown api. | ||
"/tableau/embedding-playground/overview" || | ||
window.location.host === "localhost:6006" || | ||
window.location.host === "dsc-components.herokuapp.com" | ||
isStorybook() | ||
) { | ||
@@ -65,0 +71,0 @@ this.shouldRender = true; |
262282
6694