@ordergroove/offers 2.27.1-alpha-PR-634-2.3 → 2.27.2

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": "@ordergroove/offers",
3
- "version": "2.27.1-alpha-PR-634-2.3+7bfb95ce",
3
+ "version": "2.27.2",
4
4
  "description": "offer state component",
5
5
  "author": "Eugenio Lattanzio <eugenio63@gmail.com>",
6
6
  "homepage": "https://github.com/ordergroove/plush-toys#readme",
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "@ordergroove/offers-templates": "^0.4.12"
47
47
  },
48
- "gitHead": "7bfb95ceb96963ad4571a61c81e0392782ce6f69"
48
+ "gitHead": "c6a7ff6467e3ffd147fe1160b0944ee810146d5b"
49
49
  }
@@ -299,7 +299,7 @@ export class Offer extends TemplateElement {
299
299
  }
300
300
 
301
301
  get isPreview() {
302
- return this.preview;
302
+ return this.preview || window.og.previewMode;
303
303
  }
304
304
 
305
305
  render() {