Oct 27, 2020
Not sure, but maybe you don't check the date when it is null or empty?
this.departureDate = (date === null || date === '') ? '' : date.toDateString();
Not sure, but maybe you don't check the date when it is null or empty?
this.departureDate = (date === null || date === '') ? '' : date.toDateString();