@capillarytech/creatives-library 3.1.2 → 3.1.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "3.1.2",
4
+ "version": "3.1.3",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -42,7 +42,7 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
42
42
  let templateId = "";
43
43
  let templateName = "";
44
44
  let isIframe = false;
45
- if (props.location.query.type === "embedded" && props.location.query.module === "library") {
45
+ if (props.location.query.type === "embedded" && props.location.query.module === "library" && props.mode === 'EDIT') {
46
46
  isIframe = true;
47
47
  }
48
48
  if (props.mode === 'EDIT') {