@capillarytech/creatives-library 9.0.50 → 9.0.51
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
|
@@ -2287,7 +2287,7 @@ export class Creatives extends React.Component {
|
|
|
2287
2287
|
const isJourneyModule = (this.props.messageDetails?.type || '').toLowerCase() === constants.JOURNEY;
|
|
2288
2288
|
if (!isFullMode && isJourneyModule) {
|
|
2289
2289
|
const currentChannelNorm = (currentChannel || '').toLowerCase();
|
|
2290
|
-
const journeyChannelsToHide = ['
|
|
2290
|
+
const journeyChannelsToHide = ['wechat'].filter((ch) => ch !== currentChannelNorm);
|
|
2291
2291
|
updatedChannelsToHide = [...new Set([...updatedChannelsToHide, ...journeyChannelsToHide])];
|
|
2292
2292
|
}
|
|
2293
2293
|
|