@klippa/ngx-enhancy-forms 7.2.0 → 7.2.1
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/bundles/klippa-ngx-enhancy-forms.umd.js +2 -2
- package/bundles/klippa-ngx-enhancy-forms.umd.js.map +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js +2 -2
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js.map +1 -1
- package/esm2015/lib/elements/date-time-picker/date-time-picker.component.js +3 -3
- package/fesm2015/klippa-ngx-enhancy-forms.js +2 -2
- package/fesm2015/klippa-ngx-enhancy-forms.js.map +1 -1
- package/package.json +1 -1
|
@@ -1479,8 +1479,8 @@
|
|
|
1479
1479
|
if (this.multiple) {
|
|
1480
1480
|
this.datePickerRef.close = function () {
|
|
1481
1481
|
};
|
|
1482
|
-
if (this.selectedDates.some(function (e) { return
|
|
1483
|
-
this.selectedDates = this.selectedDates.filter(function (e) { return
|
|
1482
|
+
if (this.selectedDates.some(function (e) { return dateFns.isSameDay(e, date); })) {
|
|
1483
|
+
this.selectedDates = this.selectedDates.filter(function (e) { return !dateFns.isSameDay(e, date); });
|
|
1484
1484
|
}
|
|
1485
1485
|
else {
|
|
1486
1486
|
this.selectedDates = __spread(this.selectedDates, [date]);
|