@worksafevictoria/wcl7.5 1.1.0-beta.88 → 1.1.0-beta.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -252,13 +252,10 @@ export default {
|
|
|
252
252
|
return this.item === null
|
|
253
253
|
},
|
|
254
254
|
showCookie() {
|
|
255
|
-
//
|
|
256
|
-
return
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
? false
|
|
260
|
-
: true
|
|
261
|
-
},
|
|
255
|
+
// Default to false, but set to true when SHOW_COOKIE is explicitly "true"
|
|
256
|
+
return this.$config?.public?.showCookie === "true" || process.env.SHOW_COOKIE === "true";
|
|
257
|
+
}
|
|
258
|
+
|
|
262
259
|
},
|
|
263
260
|
mounted() {
|
|
264
261
|
// detect screen size to display smaller content
|