Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2b7628c6
Unverified
Commit
2b7628c6
authored
Feb 19, 2021
by
Torkel Ödegaard
Committed by
GitHub
Feb 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DashboardLinks: Fixes another issue where dashboard links cause full page reload (#31334)
parent
0a4c3b87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
public/app/features/dashboard/components/SubMenu/DashboardLinksDashboard.tsx
+2
-2
No files found.
public/app/features/dashboard/components/SubMenu/DashboardLinksDashboard.tsx
View file @
2b7628c6
...
@@ -40,7 +40,7 @@ export const DashboardLinksDashboard: React.FC<Props> = (props) => {
...
@@ -40,7 +40,7 @@ export const DashboardLinksDashboard: React.FC<Props> = (props) => {
<
li
key=
{
`dashlinks-dropdown-item-${resolvedLink.id}-${index}`
}
>
<
li
key=
{
`dashlinks-dropdown-item-${resolvedLink.id}-${index}`
}
>
<
a
<
a
href=
{
resolvedLink
.
url
}
href=
{
resolvedLink
.
url
}
target=
{
link
.
targetBlank
?
'_blank'
:
'_self'
}
target=
{
link
.
targetBlank
?
'_blank'
:
undefined
}
aria
-
label=
{
selectors
.
components
.
DashboardLinks
.
link
}
aria
-
label=
{
selectors
.
components
.
DashboardLinks
.
link
}
>
>
{
resolvedLink
.
title
}
{
resolvedLink
.
title
}
...
@@ -67,7 +67,7 @@ export const DashboardLinksDashboard: React.FC<Props> = (props) => {
...
@@ -67,7 +67,7 @@ export const DashboardLinksDashboard: React.FC<Props> = (props) => {
<
a
<
a
className=
"gf-form-label gf-form-label--dashlink"
className=
"gf-form-label gf-form-label--dashlink"
href=
{
resolvedLink
.
url
}
href=
{
resolvedLink
.
url
}
target=
{
link
.
targetBlank
?
'_blank'
:
'_self'
}
target=
{
link
.
targetBlank
?
'_blank'
:
undefined
}
aria
-
label=
{
selectors
.
components
.
DashboardLinks
.
link
}
aria
-
label=
{
selectors
.
components
.
DashboardLinks
.
link
}
>
>
<
Icon
name=
"apps"
style=
{
{
marginRight
:
'4px'
}
}
/>
<
Icon
name=
"apps"
style=
{
{
marginRight
:
'4px'
}
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment