From 087938516d43d8521011a7b95d97f1e41bbb868e Mon Sep 17 00:00:00 2001 From: Ming Hay Luk Date: Mon, 9 Dec 2024 12:35:06 -0800 Subject: [PATCH] Do not redirect to current route --- 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(); }