diff --git a/src/app/modules/shared/components/details-fields/details-fields.component.ts b/src/app/modules/shared/components/details-fields/details-fields.component.ts index 65179cfd8..1c8e37711 100644 --- a/src/app/modules/shared/components/details-fields/details-fields.component.ts +++ b/src/app/modules/shared/components/details-fields/details-fields.component.ts @@ -111,7 +111,7 @@ export class DetailsFieldsComponent implements OnChanges, OnInit { } onSelectedProject(item) { - this.projectSelected.emit({'projectId': item.id}); + this.projectSelected.emit({ projectId : item.id}); this.entryForm.patchValue( { project_id: item.id, diff --git a/src/app/modules/time-clock/components/time-entries-summary/time-entries-summary.component.html b/src/app/modules/time-clock/components/time-entries-summary/time-entries-summary.component.html index 7f0815df7..04c77a9d6 100644 --- a/src/app/modules/time-clock/components/time-entries-summary/time-entries-summary.component.html +++ b/src/app/modules/time-clock/components/time-entries-summary/time-entries-summary.component.html @@ -1,20 +1,22 @@
Summary

-
-
-
Current
-

{{ currentWorkingTime }}

-
-
-
Day
-

{{ timeEntriesSummary?.day | timeDetails }}

-
-
-
Week
-

{{ timeEntriesSummary?.week | timeDetails }}

-
-
-
Month
-

{{ timeEntriesSummary?.month | timeDetails }}

+
+
+
+
Current
+

{{ currentWorkingTime }}

+
+
+
Day
+

{{ timeEntriesSummary?.day | timeDetails }}

+
+
+
Week
+

{{ timeEntriesSummary?.week | timeDetails }}

+
+
+
Month
+

{{ timeEntriesSummary?.month | timeDetails }}

+
diff --git a/src/app/modules/time-entries/pages/time-entries.component.spec.ts b/src/app/modules/time-entries/pages/time-entries.component.spec.ts index 6e4cc0d20..de526154b 100644 --- a/src/app/modules/time-entries/pages/time-entries.component.spec.ts +++ b/src/app/modules/time-entries/pages/time-entries.component.spec.ts @@ -361,7 +361,7 @@ describe('TimeEntriesComponent', () => { state.timeEntriesDataSource.data = [ lastEntry ]; mockEntriesSelector = store.overrideSelector(getTimeEntriesDataSource, state.timeEntriesDataSource); - component.projectSelected({'projectId' : 'id'}); + component.projectSelected({ projectId : 'id'}); expect(component.entry).toEqual(lastEntry); }));