@capillarytech/creatives-library 7.7.5 → 7.7.6

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": "7.7.5",
4
+ "version": "7.7.6",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -285,6 +285,7 @@ class Creatives extends React.Component {
285
285
  selectedMarketingObjective: templateData.selectedMarketingObjective,
286
286
  edit: true,
287
287
  type: channel,
288
+ fbContentType: templateData.fbContentType
288
289
  };
289
290
  }
290
291
  break;
@@ -283,7 +283,7 @@ const Facebook = (props) => {
283
283
  fbAdManager={CREATIVE}
284
284
  />
285
285
  ) :
286
- (!isFullMode && fbAdManager !== CREATIVE && messageStrategy === "DEFAULT" ) ?
286
+ (!isFullMode && (fbAdManager !== CREATIVE && messageStrategy === "DEFAULT" || (templateData?.edit && templateData?.fbContentType !=="CREATIVE")) ) ?
287
287
  (<div className={className}>
288
288
 
289
289
  <div className="is-scrollable-section" >