Skip to content

Commit

Permalink
feat: add hideDrawLabels to List Map Input (#3855)
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 authored Oct 28, 2024
1 parent 3fd9058 commit 4f7c9c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@mui/lab": "5.0.0-alpha.170",
"@mui/material": "^5.15.10",
"@mui/utils": "^5.15.11",
"@opensystemslab/map": "1.0.0-alpha.3",
"@opensystemslab/map": "1.0.0-alpha.4",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#54be9e0",
"@tiptap/core": "^2.4.0",
"@tiptap/extension-bold": "^2.0.3",
Expand Down
8 changes: 4 additions & 4 deletions editor.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const MapFieldInput: React.FC<Props<MapField>> = (props) => {
})
}
drawMany={mapOptions?.drawMany}
hideDrawLabels={mapOptions?.drawMany}
drawColor={mapOptions?.drawColor}
drawType={mapOptions?.drawType}
drawPointer="crosshair"
Expand Down

0 comments on commit 4f7c9c6

Please sign in to comment.