@capillarytech/creatives-library 8.0.269 → 8.0.270
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
|
@@ -285,7 +285,7 @@ export class FTP extends React.Component {
|
|
|
285
285
|
const { formatMessage } = this.props.intl;
|
|
286
286
|
const { metaEntities, selectedOfferDetails, injectedTags } = this.props;
|
|
287
287
|
const tagsRaw = metaEntities && metaEntities.tags ? metaEntities.tags.standard : [];
|
|
288
|
-
const validateTagResponse = this.props?.isFullMode ? this.validateTags(messageContent, tagsTree, injectedTags) : { valid: true, unsupportedTags: [] };
|
|
288
|
+
const validateTagResponse = !this.props?.isFullMode ? this.validateTags(messageContent, tagsTree, injectedTags) : { valid: true, unsupportedTags: [] };
|
|
289
289
|
let unsupportedTags = null;
|
|
290
290
|
let errorMessageText = '';
|
|
291
291
|
if (!validateTagResponse.valid) {
|
|
@@ -310,7 +310,7 @@ const WebPushCreate = ({
|
|
|
310
310
|
|
|
311
311
|
const validateMessageContent = useCallback(
|
|
312
312
|
(value) => validateMessageContentUtil(value, formatMessage, messages, validationConfig, isFullMode),
|
|
313
|
-
[formatMessage, validationConfig],
|
|
313
|
+
[formatMessage, validationConfig, isFullMode],
|
|
314
314
|
);
|
|
315
315
|
|
|
316
316
|
useEffect(() => {
|