@capillarytech/creatives-library 0.1.11 → 0.1.12

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.
@@ -2589,6 +2589,18 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2589
2589
  }
2590
2590
  });
2591
2591
  });
2592
+ _.forEach(temp.tabBarExtraContent.sections, (section) => {
2593
+ _.forEach(section.inputFields, (inputFields) => {
2594
+ if (section.type === "multicols") {
2595
+ _.forEach(inputFields.cols, (col) => {
2596
+ if ((col.id === "tab-options-popover" || col.id === "add-language-button") && this.props.location.query.type === 'embedded' && (this.props.location.query.module === "library")) {
2597
+ const colStyle = col.colStyle;
2598
+ colStyle.display = "none";
2599
+ }
2600
+ });
2601
+ }
2602
+ });
2603
+ });
2592
2604
  temp.panes = [];
2593
2605
  temp.panes.push(basePane);
2594
2606
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",