Skip to content

Commit

Permalink
Target the link
Browse files Browse the repository at this point in the history
  • Loading branch information
copyhold committed Oct 13, 2024
1 parent df15714 commit 8b875f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/app/plugins/panel/alertGroups/AlertGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ export const AlertGroup = ({ alertManagerSourceName, group, expandAll }: Props)
Silence
</LinkButton>
)}
{ /* LOGZ.IO CHANGE :: DEV-46517 - add link target to _top */ }
{alert.generatorURL && (
<LinkButton className={styles.button} href={alert.generatorURL} icon={'chart-line'} size={'sm'}>
<LinkButton target="_top" className={styles.button} href={alert.generatorURL} icon={'chart-line'} size={'sm'}>
See source
</LinkButton>
)}
Expand Down

0 comments on commit 8b875f1

Please sign in to comment.