diff --git a/web/src/app/converters/loi-data-converter.ts b/web/src/app/converters/loi-data-converter.ts index 7b7d92c86..8187aba66 100644 --- a/web/src/app/converters/loi-data-converter.ts +++ b/web/src/app/converters/loi-data-converter.ts @@ -64,7 +64,7 @@ function propertiesPbToModel(pb: { [k: string]: Pb.LocationOfInterest.IProperty; }): Map { 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; diff --git a/web/src/app/pages/main-page-container/main-page/secondary-side-panel/submission-panel/submission-panel.component.html b/web/src/app/pages/main-page-container/main-page/secondary-side-panel/submission-panel/submission-panel.component.html index 9d4b27151..246674f3d 100644 --- a/web/src/app/pages/main-page-container/main-page/secondary-side-panel/submission-panel/submission-panel.component.html +++ b/web/src/app/pages/main-page-container/main-page/secondary-side-panel/submission-panel/submission-panel.component.html @@ -45,8 +45,8 @@ {{option.label}} - - Other: {{option.label}} + + Other: {{otherValue}}