Skip to content

Commit

Permalink
feat(hub-common): update feedback util (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannaeapicella authored Mar 7, 2024
1 parent b0080ff commit f71a855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/surveys/utils/is-map-question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export const isMapQuestion = (question: IS123Question) => {
"esriQuestionTypePolygon",
];
const isType = types.includes(type);
return isType && (maps.length > 0 || defaultMap);
return isType && (maps.length > 0 || Boolean(defaultMap));
};

0 comments on commit f71a855

Please sign in to comment.