@capillarytech/creatives-library 7.10.28 → 7.10.29

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.10.28",
4
+ "version": "7.10.29",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -197,11 +197,7 @@ export const SmsTraiCreate = (props) => {
197
197
  columnErrorArray.push(
198
198
  `${selectedHeaderAlias.toUpperCase()} is mandatory and each ${selectedHeaderAlias.toUpperCase()} must contain either 6 letters or 6 digits. It cannot contain special characters. `,
199
199
  );
200
- } else if (statusIndexes.includes(index) &&
201
- (cell.toLowerCase() === ACTIVE ||
202
- cell.toLowerCase() === REGISTERED ||
203
- cell.toLowerCase() === APPROVED)
204
- ) {
200
+ } else if (statusIndexes.includes(index) && [ACTIVE, REGISTERED, APPROVED].includes(cell.toLowerCase())) {
205
201
  statusErrorIndicator = false;
206
202
  } else if (index === templateIdIndex && templateIdValidation(cell)) {
207
203
  columnErrorArray.push(