Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmbabhazi committed Nov 9, 2024
1 parent bf4e417 commit 69c7217
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,16 @@ <h5 class="title">

<div class="row">
<div class="col-sm-12">
<label>{{ 'TIMER_TRACKER.SELECT_TASK' | translate }}</label>
<ga-task-selector
name="taskId"
[projectId]="form.get('projectId').value"
formControlName="tasks"
[multiple]="true"
[required]="organization?.requireTask"
></ga-task-selector>
<div class="form-group">
<label>{{ 'TIMER_TRACKER.SELECT_TASK' | translate }}</label>
<ga-task-selector
name="taskId"
[projectId]="form.get('projectId').value"
formControlName="tasks"
[multiple]="true"
[required]="organization?.requireTask"
></ga-task-selector>
</div>
</div>
</div>
<!-- Date and Description -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ export class AddProjectModuleDialogComponent extends TranslationBaseComponent im
this.form.get('teams').setValue(
(this.selectedTeams || []).map((id) => this.teams.find((e) => e.id === id)).filter((e) => !!e) // Only valid teams
);
console.log(this.form.get('tasks').value);

this.form.get('tasks').setValue(
(this.form.get('tasks').value || []).map((id) => this.tasks.find((e) => e.id === id)).filter((e) => !!e) // Only valid teams
Expand Down

0 comments on commit 69c7217

Please sign in to comment.