Skip to content

Commit 6b0b7d9

Browse files
committed
test(igx-calendar): fix failing test, #6471
1 parent 9190a62 commit 6b0b7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/calendar/calendar-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ export class IgxCalendarBase implements ControlValueAccessor {
616616
* Deselects date(s) (based on the selection type).
617617
*/
618618
public deselectDate(value?: Date | Date[]) {
619-
if (this.selectedDates || this.selectedDates.length === 0) {
619+
if (!this.selectedDates || this.selectedDates.length === 0) {
620620
return;
621621
}
622622

0 commit comments

Comments
 (0)