Update DashboardLinks.tsx

pull/24772/head
Kamal Galrani 5 years ago committed by GitHub
parent 335234c661
commit 2b23db8dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      public/app/features/dashboard/components/SubMenu/DashboardLinks.tsx

@ -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…
Cancel
Save