Skip to content

Commit

Permalink
Merge branch 'develop' into SIG-6462
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarRajput-7 authored Nov 22, 2024
2 parents 6654980 + 0c5db19 commit 7d49f85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/container/ListOfDashboard/DashboardsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ function DashboardsList(): JSX.Element {
const getLink = (): string => `${ROUTES.ALL_DASHBOARD}/${dashboard.id}`;

const onClickHandler = (event: React.MouseEvent<HTMLElement>): void => {
event.stopPropagation();
if (event.metaKey || event.ctrlKey) {
window.open(getLink(), '_blank');
} else {
Expand All @@ -458,7 +459,11 @@ function DashboardsList(): JSX.Element {
placement="left"
overlayClassName="title-toolip"
>
<Link to={getLink()} className="title-link">
<Link
to={getLink()}
className="title-link"
onClick={(e): void => e.stopPropagation()}
>
<img
src={dashboard?.image || Base64Icons[0]}
alt="dashboard-image"
Expand Down

0 comments on commit 7d49f85

Please sign in to comment.