Skip to content

Commit 2e0bc6b

Browse files
committed
remove spaces
1 parent d097ab1 commit 2e0bc6b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<div class="text-center mt-3">
2+
23
<div *ngIf="showAlertEnterTecnology" class="alert alert-danger" role="alert">
34
Field technology is requiered. Enter this field for clock out.
45
</div>
@@ -45,7 +46,7 @@ <h6 class="text-left"><strong>Projects</strong></h6>
4546
<app-project-list-hover [projects]="projects" (showFields)="setShowFields($event)"></app-project-list-hover>
4647
</ul>
4748
<br>
48-
<form *ngIf="!isClockIn || showFields ">
49+
<form *ngIf="!isClockIn || showFields">
4950
<div class="form-group row">
5051
<label for="inputActivity" class="col-sm-2 col-form-label text-center"><strong>Activity</strong></label>
5152
<div class="col-sm-10">
@@ -80,4 +81,5 @@ <h6 class="text-left"><strong>Projects</strong></h6>
8081
</div>
8182
</div>
8283
</div>
83-
</div>
84+
</div>
85+
</div>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import { Component, OnInit } from '@angular/core';
66
styleUrls: ['./time-clock.component.css']
77
})
88
export class TimeClockComponent implements OnInit {
9+
910
projects = [
1011
{ id: 'P1', name: 'Project 1' },
1112
{ id: 'P2', name: 'Project 2' },
1213
{ id: 'P3', name: 'Project 3' },
1314
{ id: 'P4', name: 'Project 4' }
1415
];
1516

16-
showFields: boolean;
17-
1817
username = 'Dario';
1918
clockInUsername = 'hh:mm:ss';
2019
clockOutUsername = 'hh:mm:ss';
2120

2221
isClockIn: boolean;
2322
isEnterTechnology: boolean;
2423
showAlertEnterTecnology: boolean;
24+
showFields: boolean;
2525

2626
constructor() {
2727
this.isClockIn = true;

0 commit comments

Comments
 (0)