Skip to content
Prev Previous commit
Next Next commit
clean field technology
  • Loading branch information
daros10 committed Mar 19, 2020
commit 31bf12960f6f09de1afe859fe3b03cba5a4502af
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class TimeClockComponent implements OnInit {
minute: number;
seconds: number;
interval;
dataTechnology: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technologies entered are going to be a string []

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


constructor() {
this.isClockIn = true;
Expand All @@ -52,6 +53,7 @@ export class TimeClockComponent implements OnInit {
this.isClockIn = false;
this.showAlertEnterTecnology = true;
} else {
this.dataTechnology = '';
this.isClockIn = true;
this.isEnterTechnology = false;
this.showAlertEnterTecnology = false;
Expand All @@ -61,6 +63,7 @@ export class TimeClockComponent implements OnInit {
}

enterTechnology(data: string) {
this.dataTechnology = data;
if ( data.length > 0 ) {
this.isEnterTechnology = true;
} else {
Expand Down