Skip to content

Commit

Permalink
Merge branch 'master' into rfontanarosa/1960/survey-list-clicking-a-s…
Browse files Browse the repository at this point in the history
…urvey-brings-user-to-the-survey-edit-screen
  • Loading branch information
rfontanarosa committed Aug 20, 2024
2 parents a97806c + 5095678 commit 7fc6730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/app/converters/loi-data-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function propertiesPbToModel(pb: {
[k: string]: Pb.LocationOfInterest.IProperty;
}): Map<string, string | number> {
const properties: {[k: string]: string | number} = {};
for (const k in pb.keys) {
for (const k of Object.keys(pb)) {
const v = pb[k].stringValue || pb[k].numericValue;
if (v !== null && v !== undefined) {
properties[k] = v;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
{{option.label}}
</mat-checkbox>

<mat-checkbox disabled="true" checked="true" *ngIf="getTaskMultipleChoiceSelections(task).otherOption">
Other: {{option.label}}
<mat-checkbox disabled="true" checked="true" *ngIf="getTaskMultipleChoiceSelections(task).otherValue as otherValue">
Other: {{otherValue}}
</mat-checkbox>
</div>
<!-- Photo task types -->
Expand Down

0 comments on commit 7fc6730

Please sign in to comment.