Skip to content

Commit 5a6e41e

Browse files
committed
added time to entry and out in projects
1 parent f2dbf42 commit 5a6e41e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/components/options-sidebar/time-clock/time-clock.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export class TimeClockComponent implements OnInit {
7171
setShowFields(show: boolean) {
7272
this.isClockIn = false;
7373
this.showFields = show;
74+
this.setTimeToInOut();
7475
}
7576

7677
startTimer() {
@@ -95,7 +96,7 @@ export class TimeClockComponent implements OnInit {
9596
}
9697
}
9798

98-
setTimeToInOut(){
99+
setTimeToInOut() {
99100
this.currentDate = new Date();
100101
this.hour = this.currentDate.getHours();
101102
this.minute = this.currentDate.getMinutes();

0 commit comments

Comments
 (0)