From 1c0b83b592d18d435cb7a7a611fe657b00eef844 Mon Sep 17 00:00:00 2001 From: Ming-Hay <157658916+minghay@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:35:34 -0800 Subject: [PATCH] fix: Do not redirect to current route (#1284) --- app/components/pipeline/event/card/component.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/pipeline/event/card/component.js b/app/components/pipeline/event/card/component.js index fe38c631d..b2a53492b 100644 --- a/app/components/pipeline/event/card/component.js +++ b/app/components/pipeline/event/card/component.js @@ -187,6 +187,10 @@ export default class PipelineEventCardComponent extends Component { if (e.target.href) { e.stopPropagation(); } else { + if (this.isHighlighted) { + return; + } + if (this.args.onClick) { this.args.onClick(); }