Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwr committed Nov 18, 2024
1 parent 31baa0c commit c567452
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/EditObject/EditObject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ const EditObject = () => {
const geometryClickedCallback = async (e: any) => {
// Get clicked object data
const object: any = getObject(null, e.detail.uuid);
console.log('object', object)
// If no object info was found: Stop executing
if(! object) return;
// Make edit form visible
Expand Down Expand Up @@ -346,7 +345,7 @@ const EditObject = () => {
const getGeoClass = (objectType: URL): boolean | string => {
// Filter geoClasses on objectType
const foundGeoClass = geoClasses.filter((x: any) => {
return x.classURI.value === objectType;
return x.classURI?.value === objectType;
})
if(objectType === 'Wegvak' || objectType === 'Halteplaats') {
return 'polygon';
Expand Down

0 comments on commit c567452

Please sign in to comment.