@websy/websy-designs 1.2.15 → 1.2.16

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.
@@ -1205,7 +1205,9 @@ class WebsyDatePicker {
1205
1205
  end = ` - ${list[list.length - 1]}`
1206
1206
  }
1207
1207
  else {
1208
- start = `${list.length} selected`
1208
+ if (list.length > 1) {
1209
+ start = `${list.length} selected`
1210
+ }
1209
1211
  }
1210
1212
  if (this.options.mode === 'hour') {
1211
1213
  start = this.options.hours[start].text
@@ -1340,7 +1340,9 @@ var WebsyDatePicker = /*#__PURE__*/function () {
1340
1340
  if (this.customRangeSelected === true) {
1341
1341
  end = " - ".concat(list[list.length - 1]);
1342
1342
  } else {
1343
- start = "".concat(list.length, " selected");
1343
+ if (list.length > 1) {
1344
+ start = "".concat(list.length, " selected");
1345
+ }
1344
1346
  }
1345
1347
 
1346
1348
  if (this.options.mode === 'hour') {