mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
Update DashboardLinks.tsx
This commit is contained in:
parent
335234c661
commit
2b23db8dc4
@ -25,11 +25,7 @@ export const DashboardLinks: FC<Props> = ({ dashboard }) => {
|
||||
}
|
||||
|
||||
const linkElement = (
|
||||
<a
|
||||
className="gf-form-label"
|
||||
href={sanitizeUrl(linkInfo.href)}
|
||||
target={link.targetBlank ? '_blank' : '_self'}
|
||||
>
|
||||
<a className="gf-form-label" href={sanitizeUrl(linkInfo.href)} target={link.target}>
|
||||
<Icon name={iconMap[link.icon] as IconName} />
|
||||
<span>{sanitize(linkInfo.title)}</span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user