@capillarytech/creatives-library 7.17.76 → 7.17.77
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
|
@@ -649,7 +649,7 @@ const Viber = (props) => {
|
|
|
649
649
|
|
|
650
650
|
const isDisableDone = () => {
|
|
651
651
|
// textbox area should not empty and should have max 1000 charactor
|
|
652
|
-
if (messageContent
|
|
652
|
+
if (messageContent?.trim() === '' || errorMessageTextarea) {
|
|
653
653
|
return true;
|
|
654
654
|
}
|
|
655
655
|
// cannot send text + image only messages, Need to add button details or remove one of the components in order to proceed
|
|
@@ -667,7 +667,7 @@ const Viber = (props) => {
|
|
|
667
667
|
return true;
|
|
668
668
|
}
|
|
669
669
|
//if template title is empty
|
|
670
|
-
if (messageTitle
|
|
670
|
+
if (messageTitle?.trim() === '') {
|
|
671
671
|
return true;
|
|
672
672
|
}
|
|
673
673
|
return false;
|