Skip to content

Commit

Permalink
Fix issue with mobile structure type not reflecting on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
trslater committed Nov 6, 2024
1 parent fc85c01 commit dc0cb0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ export class PfrsProposalComponent extends FilesStepComponent implements OnInit,
this.updateStructureCounts(structure.type, newType);

structure.type = newType;
this.structuresForm.get(`${structure.id}-type`)?.setValue(newType);

this.updateStructureTypeFields();
this.form.markAsDirty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ export class PofoProposalComponent extends FilesStepComponent implements OnInit,
this.updateStructureCounts(structure.type, newType);

structure.type = newType;
this.structuresForm.get(`${structure.id}-type`)?.setValue(newType);

this.updateStructureTypeFields();
this.form.markAsDirty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ export class RosoProposalComponent extends FilesStepComponent implements OnInit,
this.updateStructureCounts(structure.type, newType);

structure.type = newType;
this.structuresForm.get(`${structure.id}-type`)?.setValue(newType);

this.updateStructureTypeFields();
this.form.markAsDirty();
Expand Down

0 comments on commit dc0cb0e

Please sign in to comment.