@capillarytech/creatives-library 7.17.104 → 7.17.105
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
|
@@ -802,6 +802,9 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
802
802
|
queryParams.originalId = this.props.Templates.selectedWeChatAccount.sourceAccountIdentifier;
|
|
803
803
|
}
|
|
804
804
|
const channel = this.state.channel;
|
|
805
|
+
if (([MOBILE_PUSH_LOWERCASE, INAPP_LOWERCASE].includes(channel.toLowerCase())) && !isEmpty(this.props.Templates.selectedWeChatAccount)) {
|
|
806
|
+
queryParams.accountId = this.props.Templates?.selectedWeChatAccount?.id;
|
|
807
|
+
}
|
|
805
808
|
this.props.actions.getAllTemplates(channel, queryParams,`${copyOf}`);
|
|
806
809
|
} else if ((resetPage || (page === 1 && this.state.templatesCount === 0) || page <= (this.state.templatesCount / this.state.perPageLimit))) {
|
|
807
810
|
if (getNextPage) {
|