Skip to content

Commit 2ceccec

Browse files
committed
Fix comments
1 parent ee5a5e6 commit 2ceccec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h5>PROJECTS</h5>
55
<app-project-list-hover
66
[projects]="projects"
7-
(showFields)="getShowFields($event)"
7+
(showFields)="setShowFields($event)"
88
></app-project-list-hover>
99
<br />
1010
<div *ngIf="showFields">

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ describe("TimeClockComponent", () => {
2222
expect(component).toBeTruthy();
2323
});
2424

25-
it("should set showfileds as true", () => {
25+
it("should set showFields as true", () => {
2626
const show = true;
2727
component.showFields = show;
28-
component.getShowFields(show);
28+
component.setShowFields(show);
2929
expect(component.showFields).toBe(true);
3030
});
3131
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class TimeClockComponent implements OnInit {
1919

2020
ngOnInit(): void {}
2121

22-
getShowFields(show: boolean) {
22+
setShowFields(show: boolean) {
2323
this.showFields = show;
2424
}
2525
}

0 commit comments

Comments
 (0)