@worksafevictoria/wcl7.5 1.1.0-beta.71 → 1.1.0-beta.72

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.1.0-beta.71",
3
+ "version": "1.1.0-beta.72",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -322,12 +322,10 @@ export default {
322
322
 
323
323
  if (this.showCookie && bannerDisplayed !== 'true') {
324
324
  // Show the banner if it's not been displayed yet
325
- console.log('** Show the banner if its not been displayed yet:-')
326
325
  cookieElement.classList.remove('hide')
327
326
  cookieElement.classList.add('show')
328
327
  } else {
329
328
  // Hide the banner if user has already made a selection
330
- console.log('** Hide the banner if user has already made a selection:-')
331
329
  // need to remove cookies in rejected categories, but first hide cookie overlay
332
330
  cookieElement.classList.add('hide')
333
331
  cookieElement.classList.remove('show')
@@ -95,16 +95,14 @@ export default {
95
95
  this.setCookie()
96
96
  this.displayGlobal = false
97
97
  } else if (typeof window !== 'undefined') {
98
- console.log('**else this.showGlobalNotice:-', this.showGlobalNotice)
99
- console.log('**else tocalStorage.getItem(globalModalHidden):-', localStorage.getItem('globalModalHidden'))
100
-
98
+
101
99
  this.displayGlobal =
102
100
  this.showGlobalNotice === true &&
103
101
  !localStorage.getItem('globalModalHidden')
104
102
  } else {
105
103
  this.displayGlobal = process.env.SHOW_GLOBAL_NOTICE === true
106
104
  }
107
- console.log('**this.displayGlobal:- ', this.displayGlobal)
105
+
108
106
  }
109
107
  }
110
108
  }