Skip to content

Commit 7d86a71

Browse files
committed
Fix variable
1 parent ed3eaf0 commit 7d86a71

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
</div>
1818

1919
<div class="card-body">
20-
<p *ngIf="!isClockIn" class="card-title text-left"><strong>{{ username }}</strong> clocked <strong
21-
class="text-success">in</strong> at <strong>{{ clockInUsername }}</strong></p>
22-
<p *ngIf="isClockIn" class="card-title text-left"><strong>{{ username }}</strong> clocked <strong
23-
class="text-danger">out</strong> at <strong>{{ clockOutUsername }}</strong></p>
20+
<p *ngIf="!isClockIn" class="card-title text-left"><strong>{{ username }}</strong> clocked <strong class="text-success">in</strong> at <strong>{{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</strong></p>
21+
<p *ngIf="isClockIn" class="card-title text-left"><strong>{{ username }}</strong> clocked <strong class="text-danger">out</strong> at <strong>{{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</strong></p>
2422
<h6 class="text-left"><strong>Totals</strong></h6>
2523
<hr>
2624
<div class="row">

0 commit comments

Comments
 (0)