@capillarytech/creatives-library 7.10.2 → 7.10.3
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
|
@@ -29,7 +29,6 @@ export const GET_TOPBAR_MENU_DATA_FAILURE = 'creatives/cap/GET_TOPBAR_MENU_DATA_
|
|
|
29
29
|
export const CLEAR_TOPBAR_MENU_DATA = 'creatives/cap/CLEAR_TOPBAR_MENU_DATA';
|
|
30
30
|
|
|
31
31
|
export const SET_LOYALTY_PROMOTION_RELATED_CREATIVE_TAGS_DISPLAY = 'SET_LOYALTY_PROMOTION_RELATED_CREATIVE_TAGS_DISPLAY';
|
|
32
|
-
export const SET_CARD_RELATED_TAGS_VISIBILITY = 'SET_CARD_RELATED_TAGS_VISIBILITY';
|
|
33
32
|
|
|
34
33
|
export const CAMPAIGN_SETTINGS_URL = '/creatives/settings/message';
|
|
35
34
|
export const ORG_SETTINGS_URL = '/org/index';
|
|
@@ -119,10 +119,8 @@ function capReducer(state = fromJS(initialState.cap), action) {
|
|
|
119
119
|
case types.SET_LOYALTY_PROMOTION_RELATED_CREATIVE_TAGS_DISPLAY: {
|
|
120
120
|
return state.set('disableLoyaltyPromotionRelatedTags', action.disable)
|
|
121
121
|
.set('tagsToDisable', action.tagsToDisable)
|
|
122
|
-
.set('parentTagsToDisable', action.parentTagsToDisable)
|
|
123
|
-
|
|
124
|
-
case types.SET_CARD_RELATED_TAGS_VISIBILITY: {
|
|
125
|
-
return state.set('showCardsRelatedTags', action.showCardsRelatedTags);
|
|
122
|
+
.set('parentTagsToDisable', action.parentTagsToDisable)
|
|
123
|
+
.set('showCardsRelatedTags', action.showCardsRelatedTags);
|
|
126
124
|
}
|
|
127
125
|
default:
|
|
128
126
|
return state;
|