Skip to content

Commit a90d69b

Browse files
fix: TT-2017 Remove blank lines
1 parent 6f698a0 commit a90d69b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/modules/time-clock/components/entry-fields/entry-fields.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class EntryFieldsComponent implements OnInit, OnDestroy {
4848
private actionsSubject$: ActionsSubject,
4949
private toastrService: ToastrService,
5050
private featureToggleGeneralService: FeatureToggleGeneralService,
51+
private azureAdB2CService: AzureAdB2CService
5152
) {
5253
this.entryForm = this.formBuilder.group({
5354
description: '',
@@ -159,6 +160,7 @@ export class EntryFieldsComponent implements OnInit, OnDestroy {
159160
this.entryForm.patchValue({ start_date: newHourEntered });
160161
if (this.isFeatureToggleActive) {
161162
this.newData.update_last_entry_if_overlap = true;
163+
this.newData.owner_id = this.azureAdB2CService.getUserId();
162164
this.store.dispatch(new entryActions.UpdateEntryRunning({ ...this.newData, ...this.entryForm.value }));
163165
} else {
164166
this.store.dispatch(new entryActions.UpdateCurrentOrLastEntry({ ...this.newData, ...this.entryForm.value }));

0 commit comments

Comments
 (0)