mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 23:15:57 +08:00
fix: fixed back navigation issue for dashboard details coming from dashboard list table (#6496)
This commit is contained in:
parent
67058b2a17
commit
0c5db1937e
@ -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 {
|
||||
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user