@capillarytech/creatives-library 8.0.223-alpha.4 → 8.0.223-alpha.5
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
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
background-image: url("https://s3.amazonaws.com/test_files_cache_bkp/intouch_creative_assets/1720b7f7e78860c1f905.svg");
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
.v2-pagination-container{
|
|
661
|
+
.v2-pagination-container-half{
|
|
662
662
|
height: calc(100vh - 340px);
|
|
663
663
|
overflow-y: auto;
|
|
664
664
|
overflow-x: hidden;
|
|
@@ -396,7 +396,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
396
396
|
if (this.props.location.query.type === 'embedded' && this.isEnabledInLibraryModule("setLocale")) {
|
|
397
397
|
this.setLocale();
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
console.log('componentDidMount');
|
|
400
400
|
// opening the create slidebox based on query params
|
|
401
401
|
const queryItems = getObjFromQueryParams(location.search);
|
|
402
402
|
if ([INAPP_LOWERCASE, WHATSAPP_LOWERCASE].includes(queryItems.channel) && queryItems.mode === CREATE) {
|
|
@@ -1743,7 +1743,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
1743
1743
|
const getAllTemplatesInProgress = get(this.props, 'Templates.getAllTemplatesInProgress');
|
|
1744
1744
|
|
|
1745
1745
|
const noWhatsappZaloTemplates = this.isFullMode() && isEmpty(templates) || !this.state.hostName;
|
|
1746
|
-
|
|
1746
|
+
console.log('isFullMode: ', this.isFullMode())
|
|
1747
1747
|
const noApprovedWhatsappZaloTemplates = filteredEmptyAndFullModeAs(false) && !isEmpty(this.state?.hostName);
|
|
1748
1748
|
const showWhatsappIllustration = accountWithNoHostWhatsapp(WHATSAPP_LOWERCASE);
|
|
1749
1749
|
const showZaloIllustration = accountWithNoHostZalo(ZALO_LOWERCASE)
|
|
@@ -1756,7 +1756,7 @@ return (<div>
|
|
|
1756
1756
|
{[WHATSAPP, ZALO].includes(currentChannel) && this.selectedFilters()}
|
|
1757
1757
|
{<div>
|
|
1758
1758
|
{!isEmpty(filteredTemplates) || !isEmpty(this.state.searchText) || !isEmpty(this.props.Templates.templateError) ? (
|
|
1759
|
-
<div className={!isEmpty(this.state.searchText) && isEmpty(cardDataList) ? '' : "v2-pagination-container"}>
|
|
1759
|
+
<div className={!isEmpty(this.state.searchText) && isEmpty(cardDataList) ? '' : this.isFullMode() ? "v2-pagination-container" : "v2-pagination-container-half"}>
|
|
1760
1760
|
<CapCustomCardList
|
|
1761
1761
|
key={`${currentChannel}-card-list`}
|
|
1762
1762
|
cardList={cardDataList}
|