@capillarytech/creatives-library 8.0.305 → 8.0.306
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
|
@@ -821,6 +821,13 @@ export const InappAdvanced = (props) => {
|
|
|
821
821
|
const isLiquidFlow = hasLiquidSupportFeature();
|
|
822
822
|
// Skip validation if no tags are available (e.g., in tests or when tags haven't loaded)
|
|
823
823
|
const hasTags = tags && tags.length > 0;
|
|
824
|
+
|
|
825
|
+
// When liquid is enabled and isFullMode is true, skip liquid validation and proceed directly
|
|
826
|
+
if (isLiquidFlow && isFullMode) {
|
|
827
|
+
onSuccess();
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
830
|
+
|
|
824
831
|
if (isLiquidFlow && hasTags) {
|
|
825
832
|
validateInAppContent(payload, {
|
|
826
833
|
currentTab: panes === ANDROID ? 1 : 2, // Convert ANDROID/IOS to tab numbers
|
|
@@ -2652,6 +2652,12 @@ const MobilePushNew = ({
|
|
|
2652
2652
|
};
|
|
2653
2653
|
const onSuccess = () => handleSave();
|
|
2654
2654
|
|
|
2655
|
+
// When liquid is enabled and isFullMode is true, skip liquid validation and proceed directly
|
|
2656
|
+
if (hasLiquidSupportFeature() && isFullMode) {
|
|
2657
|
+
onSuccess();
|
|
2658
|
+
return;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2655
2661
|
validateMobilePushContent([androidContent, iosContent], {
|
|
2656
2662
|
currentTab: activeTab === ANDROID ? 1 : 2,
|
|
2657
2663
|
onError,
|
|
@@ -2683,6 +2689,7 @@ const MobilePushNew = ({
|
|
|
2683
2689
|
formatMessage,
|
|
2684
2690
|
metaEntities,
|
|
2685
2691
|
accountData,
|
|
2692
|
+
isFullMode,
|
|
2686
2693
|
]);
|
|
2687
2694
|
|
|
2688
2695
|
const isLiquidFlow = hasLiquidSupportFeature();
|
|
@@ -300,6 +300,13 @@ export const SmsTraiEdit = (props) => {
|
|
|
300
300
|
const onSuccess = () => {
|
|
301
301
|
onDoneCallback();
|
|
302
302
|
};
|
|
303
|
+
|
|
304
|
+
// When liquid is enabled and isFullMode is true, skip liquid validation and proceed directly
|
|
305
|
+
if (isFullMode) {
|
|
306
|
+
onSuccess();
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
|
|
303
310
|
validateLiquidTemplateContent(content, {
|
|
304
311
|
getLiquidTags,
|
|
305
312
|
formatMessage: intl.formatMessage,
|