Skip to content

Commit

Permalink
Merge pull request #342 from sledilnik/feature/153
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjapotocin authored Apr 2, 2023
2 parents 4453c15 + 5e2efbc commit 9a4b537
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/DoctorCard/Info/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ const Info = function Info({ doctor, handleZoom = () => {}, isMarker = false })
const path = `/${lng}/${drPath}/${slug}/${instId}`;

const handleDoctorCard = (event, isReportError) => {
// Cmd + Click should open in new tab
if (event.metaKey) {
return;
}

event.preventDefault();
const center = map?.getCenter();

Expand Down

0 comments on commit 9a4b537

Please sign in to comment.