Skip to content

Commit 8b6b653

Browse files
authored
fix(module:date-picker): fix code comment (#7991)
1 parent 718ba29 commit 8b6b653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/date-picker/date-picker.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ export class NzDatePickerComponent implements OnInit, OnChanges, AfterViewInit,
654654
return this.close();
655655
}
656656

657-
// check if the value has change for a simple datepicker, let us to avoid notify the control for nothing
657+
// check if the value has change for a range picker, let us to avoid notify the control for nothing
658658
if (this.isRange) {
659659
const [previousStartDate, previousEndDate] = datePickerPreviousValue as CandyDate[];
660660
const [currentStartDate, currentEndDate] = value as CandyDate[];

0 commit comments

Comments
 (0)