Skip to content

Commit

Permalink
Fix property list generation in InteractivitySettings
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Jan 3, 2024
1 parent 836a8cb commit 0a156d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/admin/data/InteractivitySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function TemplateEditor(props: {

const attributes = useMemo(() => {
if (props.geostats) {
return props.geostats.attributes;
return props.geostats.attributes.map((a) => a.attribute);
}
if (props.basemap && props.layers && mapContext.manager?.map) {
const features = mapContext.manager?.map.queryRenderedFeatures(undefined, {
Expand Down

0 comments on commit 0a156d6

Please sign in to comment.