mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
updated live tailing text
This commit is contained in:
parent
f8cef9b900
commit
e2ea2d3050
@ -91,8 +91,8 @@ const getStyles = memoizeOne((theme: GrafanaTheme) => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const defaultZoomOutTooltip = () => {
|
const defaultLiveTooltip = () => {
|
||||||
return <>Live tailing</>;
|
return <>Live</>;
|
||||||
};
|
};
|
||||||
|
|
||||||
type LiveTailButtonProps = {
|
type LiveTailButtonProps = {
|
||||||
@ -112,7 +112,7 @@ export function LiveTailButton(props: LiveTailButtonProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Tooltip content={defaultZoomOutTooltip} placement="bottom">
|
<Tooltip content={defaultLiveTooltip} placement="bottom">
|
||||||
<button
|
<button
|
||||||
className={classNames('btn navbar-button', styles.liveButton, {
|
className={classNames('btn navbar-button', styles.liveButton, {
|
||||||
[`btn--radius-right-0 ${styles.noRightBorderStyle}`]: isLive,
|
[`btn--radius-right-0 ${styles.noRightBorderStyle}`]: isLive,
|
||||||
@ -122,7 +122,7 @@ export function LiveTailButton(props: LiveTailButtonProps) {
|
|||||||
onClick={onClickMain}
|
onClick={onClickMain}
|
||||||
>
|
>
|
||||||
<i className={classNames('fa', isPaused || !isLive ? 'fa-play' : 'fa-pause')} />
|
<i className={classNames('fa', isPaused || !isLive ? 'fa-play' : 'fa-pause')} />
|
||||||
<span> Live tailing</span>
|
<span> Live</span>
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
|
Loading…
Reference in New Issue
Block a user