@capillarytech/creatives-library 7.17.210 → 7.17.211
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
|
@@ -155,7 +155,7 @@ export function SlideBoxContent(props) {
|
|
|
155
155
|
moduleType,
|
|
156
156
|
showLiquidErrorInFooter,
|
|
157
157
|
creativesMode,
|
|
158
|
-
hostName='',
|
|
158
|
+
hostName = '',
|
|
159
159
|
} = props;
|
|
160
160
|
const type = (messageDetails.type || '').toLowerCase(); // type is context in get tags values : outbound | dvs | referral | loyalty | coupons
|
|
161
161
|
const query = { type: !isFullMode && 'embedded', module: isFullMode ? 'default' : 'library', isEditFromCampaigns: (templateData || {}).isEditFromCampaigns};
|
|
@@ -1313,7 +1313,7 @@ export class Creatives extends React.Component {
|
|
|
1313
1313
|
moduleType={this.props.messageDetails?.type}
|
|
1314
1314
|
showLiquidErrorInFooter={this.showLiquidErrorInFooter}
|
|
1315
1315
|
creativesMode={creativesMode} // An existing prop that we're using here. Required to ensure correct account details in Edit or Preview in case of Embedded mode.
|
|
1316
|
-
hostName={this.props
|
|
1316
|
+
hostName={this.props?.hostName || ''}
|
|
1317
1317
|
/>
|
|
1318
1318
|
}
|
|
1319
1319
|
footer={this.shouldShowFooter() &&
|