@capillarytech/creatives-library 0.1.20 → 0.1.22
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.
|
@@ -445,6 +445,9 @@ export class WeChat extends React.Component { // eslint-disable-line react/prefe
|
|
|
445
445
|
context: this.props.location.query.type === 'embedded' ? this.props.location.query.module : 'default',
|
|
446
446
|
embedded: this.props.location.query.type === 'embedded' ? this.props.location.query.type : 'full',
|
|
447
447
|
};
|
|
448
|
+
if (this.props.getDefaultTags) { // handling dynamic tags in library mode, but handling static and synamic tags in email and sms.
|
|
449
|
+
query.context = this.props.getDefaultTags;
|
|
450
|
+
}
|
|
448
451
|
this.props.globalActions.fetchSchemaForEntity(query);
|
|
449
452
|
}
|
|
450
453
|
|
|
@@ -1594,6 +1597,7 @@ WeChat.propTypes = {
|
|
|
1594
1597
|
intl: intlShape.isRequired,
|
|
1595
1598
|
isGetFormData: PropTypes.bool,
|
|
1596
1599
|
getLibraryFormData: PropTypes.func,
|
|
1600
|
+
getDefaultTags: PropTypes.string,
|
|
1597
1601
|
};
|
|
1598
1602
|
|
|
1599
1603
|
const mapStateToProps = createStructuredSelector({
|