diff --git a/package-lock.json b/package-lock.json index 38cc9c0..59c96d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@smartcitiesdata/react-discovery-ui", - "version": "2.1.39", + "version": "2.1.40", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 923c8d2..fa640a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@smartcitiesdata/react-discovery-ui", - "version": "2.1.39", + "version": "2.1.40", "description": "React component for dataset discovery UI", "main": "./lib/ReactDiscoveryUI.js", "repository": { diff --git a/src/pages/user-profile-view/user-profile-view.js b/src/pages/user-profile-view/user-profile-view.js index 22c5153..4e7cb2e 100644 --- a/src/pages/user-profile-view/user-profile-view.js +++ b/src/pages/user-profile-view/user-profile-view.js @@ -74,7 +74,7 @@ const UserProfileView = (props) => { className: 'centered', width: 50, Cell: ({ original }) => ( - { if (event.key === ' ' || event.key === 'Enter') { event.preventDefault() && openDeleteModalForVisualization(original.id) } }} onClick={() => { openDeleteModalForVisualization(original.id) }}> + { if (event.key === ' ' || event.key === 'Enter') { openDeleteModalForVisualization(original.id) } }} onClick={() => { openDeleteModalForVisualization(original.id) }}> )