File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/modules/time-entries/pages Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ export class TimeEntriesComponent implements OnInit {
4848 if ( this . activeTimeEntry !== null && this . activeTimeEntry !== undefined ) {
4949 const entryDateAsIso = new Date ( event . entry . start_date ) . toISOString ( ) ;
5050 const entryDateAsLocalDate = new Date ( entryDateAsIso ) ;
51- const activeEntryAsLocaldate = new Date ( this . activeTimeEntry . start_date ) ;
51+ const activeEntryAsLocalDate = new Date ( this . activeTimeEntry . start_date ) ;
5252 const isEditingActiveEntry = this . entryId === this . activeTimeEntry . id ;
53- if ( ! isEditingActiveEntry && entryDateAsLocalDate > activeEntryAsLocaldate ) {
53+ if ( ! isEditingActiveEntry && entryDateAsLocalDate > activeEntryAsLocalDate ) {
5454 this . toastrService . error ( 'You are on the clock and this entry overlaps it, try with earlier times.' ) ;
5555 } else {
5656 this . doSave ( event ) ;
You can’t perform that action at this time.
0 commit comments