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>
|
<ul>
|
||||||
{links.map(link => (
|
{links.map(link => (
|
||||||
<li key={link.text}>
|
<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}
|
<i className={link.icon} /> {link.text}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -199,7 +199,6 @@ exports[`ServerStats Should render table with stats 1`] = `
|
|||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
target="_blank"
|
|
||||||
>
|
>
|
||||||
<i />
|
<i />
|
||||||
|
|
||||||
@ -209,7 +208,6 @@ exports[`ServerStats Should render table with stats 1`] = `
|
|||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
target="_blank"
|
|
||||||
>
|
>
|
||||||
<i />
|
<i />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user