mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Read target
prop from the links in the footer (#22074)
* Grafana-core: Read target prop from the links in footer instead of having them hardcoded * Grafana-core: Update ServerStats snapshot
This commit is contained in:
parent
3b86bc97ea
commit
e07e03c26d
@ -68,7 +68,7 @@ export const Footer: FC = React.memo(() => {
|
||||
<ul>
|
||||
{links.map(link => (
|
||||
<li key={link.text}>
|
||||
<a href={link.url} target="_blank" rel="noopener">
|
||||
<a href={link.url} target={link.target} rel="noopener">
|
||||
<i className={link.icon} /> {link.text}
|
||||
</a>
|
||||
</li>
|
||||
|
@ -199,7 +199,6 @@ exports[`ServerStats Should render table with stats 1`] = `
|
||||
<li>
|
||||
<a
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
<i />
|
||||
|
||||
@ -209,7 +208,6 @@ exports[`ServerStats Should render table with stats 1`] = `
|
||||
<li>
|
||||
<a
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
<i />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user