Skip to content
Merged
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
feat: TTL-925 update overlap message (#1002)
  • Loading branch information
Santiago220991 authored Aug 4, 2023
commit 3fb60b66632db049ff059e0ab1d071d700da4457
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class TimeEntriesComponent implements OnInit, OnDestroy, AfterViewInit {
this.checkIfActiveEntryOverlapping(isEditingEntryEqualToActiveEntry, startDateAsLocalDate);
if (!isEditingEntryEqualToActiveEntry && isTimeEntryOverlapping || this.isActiveEntryOverlapping ) {
const message = this.isActiveEntryOverlapping ? 'try another "Time in"' : 'try with earlier times';
this.toastrService.error(`You are on the clock and this entry overlaps it, ${message}.`);
this.toastrService.error(`There is an overlap with another time entry, please modify the time.`);
this.isActiveEntryOverlapping = false;
} else {
this.doSave(event);
Expand Down