Skip to content

Commit

Permalink
fix: Do not redirect to current route (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
minghay authored Dec 9, 2024
1 parent 2b21057 commit 1c0b83b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/components/pipeline/event/card/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 1c0b83b

Please sign in to comment.