mirror of https://github.com/grafana/grafana.git
TraceView: Use global config for showing and hiding feedback link in trace view (#101504)
Use global config for showing feedback link in trace view
This commit is contained in:
parent
ac0fd38183
commit
b3ad7ce151
|
|
@ -66,18 +66,20 @@ export default function TracePageActions(props: TracePageActionsProps) {
|
|||
|
||||
return (
|
||||
<div className={styles.TracePageActions}>
|
||||
<div className={styles.feedbackContainer}>
|
||||
<Icon name="comment-alt-message" />
|
||||
<a
|
||||
href="https://forms.gle/RZDEx8ScyZNguDoC8"
|
||||
className={styles.feedback}
|
||||
title="Share your thoughts about tracing in Grafana."
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
Give feedback
|
||||
</a>
|
||||
</div>
|
||||
{config.feedbackLinksEnabled && (
|
||||
<div className={styles.feedbackContainer}>
|
||||
<Icon name="comment-alt-message" />
|
||||
<a
|
||||
href="https://forms.gle/RZDEx8ScyZNguDoC8"
|
||||
className={styles.feedback}
|
||||
title="Share your thoughts about tracing in Grafana."
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
Give feedback
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<ActionButton
|
||||
onClick={copyTraceId}
|
||||
|
|
|
|||
Loading…
Reference in New Issue