mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
hide protip if not defined
This commit is contained in:
parent
acf8390d57
commit
d9c93e572e
@ -24,12 +24,14 @@ class EmptyListCTA extends Component<Props, any> {
|
|||||||
<i className={buttonIcon} />
|
<i className={buttonIcon} />
|
||||||
{buttonTitle}
|
{buttonTitle}
|
||||||
</a>
|
</a>
|
||||||
<div className="empty-list-cta__pro-tip">
|
{proTip && (
|
||||||
<i className="fa fa-rocket" /> ProTip: {proTip}
|
<div className="empty-list-cta__pro-tip">
|
||||||
<a className="text-link empty-list-cta__pro-tip-link" href={proTipLink} target={proTipTarget}>
|
<i className="fa fa-rocket" /> ProTip: {proTip}
|
||||||
{proTipLinkTitle}
|
<a className="text-link empty-list-cta__pro-tip-link" href={proTipLink} target={proTipTarget}>
|
||||||
</a>
|
{proTipLinkTitle}
|
||||||
</div>
|
</a>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user