Skip to content

Commit 9b5621f

Browse files
committed
fix add leader for number
1 parent 83b45e4 commit 9b5621f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
<app-input
377377
type="radio"
378378
name="goalLeaderSelection"
379-
[appValue]="collaborator.userId.toLocaleString()"
379+
[appValue]="collaborator.userId.toString()"
380380
[checked]="selectedLeaderId === collaborator.userId.toString()"
381381
(change)="onLeaderRadioChange($event)"
382382
></app-input>

projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export class ProjectMainStepComponent implements OnInit, OnDestroy {
291291

292292
// Устанавливаем выбранного лидера в форму
293293
const goalFormGroup = this.goals.at(goalIndex);
294-
goalFormGroup?.get("responsible")?.setValue(this.selectedLeaderId);
294+
goalFormGroup?.get("responsible")?.setValue(Number(this.selectedLeaderId));
295295

296296
this.toggleGoalLeaderModal();
297297
this.selectedLeaderId = "";

0 commit comments

Comments
 (0)