Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-149 When edit Date In update the Date Out
  • Loading branch information
wobravo authored and scastillo-jp committed Feb 24, 2021
commit 8f6c6a51604c4536ff09549af68c189872f86e17
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ describe('DetailsFieldsComponent', () => {
endDateInput.dispatchEvent(new Event('#end_date'));

expect(endDateInput.value).not.toEqual(startDateInput.value);
expect(startDateInput.value).toEqual(expectedStartDate);
});


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ export class DetailsFieldsComponent implements OnChanges, OnInit {
this.end_date.setValue($event);
}



ngOnChanges(): void {
this.goingToWorkOnThis = this.entryToEdit ? this.entryToEdit.running : false;
this.shouldRestartEntry = false;
Expand Down