@capillarytech/creatives-library 7.10.63 → 7.10.66
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.10.
|
|
4
|
+
"version": "7.10.66",
|
|
5
5
|
"description": "Capillary creatives ui",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.es.js",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "LicenseRef-LICENSE",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@babel/polyfill": "7.4.3",
|
|
16
15
|
"@bugsnag/js": "^7.2.1",
|
|
17
16
|
"@bugsnag/plugin-react": "^7.2.1",
|
|
18
17
|
"@capillarytech/cap-ui-utils": "1.4.2",
|
|
@@ -550,7 +550,7 @@ class Creatives extends React.Component {
|
|
|
550
550
|
templateData = {
|
|
551
551
|
channel,
|
|
552
552
|
accountId,
|
|
553
|
-
accountName: accountDetails
|
|
553
|
+
accountName: accountDetails?.name || '',
|
|
554
554
|
messageBody: languages[0].content,
|
|
555
555
|
templateConfigs: {
|
|
556
556
|
id: template._id,
|
|
@@ -2552,11 +2552,6 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
2552
2552
|
</Pagination>
|
|
2553
2553
|
{(((this.state.selectedAccount !== '' && !isEmpty(this.props.Templates.selectedWeChatAccount) && this.state.channel.toLowerCase() === 'wechat') || this.state.channel.toLowerCase() !== 'wechat') && isEmpty(this.props.TemplatesList)) && !this.props.Templates.getAllTemplatesInProgress && !isEmpty(this.state.searchText) &&
|
|
2554
2554
|
<div style={{ height: '65vh', textAlign: 'center', lineHeight: '65vh'}}>
|
|
2555
|
-
{
|
|
2556
|
-
channel.toLowerCase() === WHATSAPP_LOWERCASE ? (
|
|
2557
|
-
<CapAlert message={whatsappCountExceedText} type="info" />
|
|
2558
|
-
) : null
|
|
2559
|
-
}
|
|
2560
2555
|
<CapHeading type="h6">{this.props.intl.formatMessage(messages.noTemplatesFound)}</CapHeading>
|
|
2561
2556
|
</div>}
|
|
2562
2557
|
</CapRow>
|