updated live tailing text

pull/19778/head
Łukasz Siatka 6 years ago committed by Lukas Siatka
parent f8cef9b900
commit e2ea2d3050
  1. 8
      public/app/features/explore/LiveTailButton.tsx

@ -91,8 +91,8 @@ const getStyles = memoizeOne((theme: GrafanaTheme) => {
};
});
const defaultZoomOutTooltip = () => {
return <>Live tailing</>;
const defaultLiveTooltip = () => {
return <>Live</>;
};
type LiveTailButtonProps = {
@ -112,7 +112,7 @@ export function LiveTailButton(props: LiveTailButtonProps) {
return (
<>
<Tooltip content={defaultZoomOutTooltip} placement="bottom">
<Tooltip content={defaultLiveTooltip} placement="bottom">
<button
className={classNames('btn navbar-button', styles.liveButton, {
[`btn--radius-right-0 ${styles.noRightBorderStyle}`]: isLive,
@ -122,7 +122,7 @@ export function LiveTailButton(props: LiveTailButtonProps) {
onClick={onClickMain}
>
<i className={classNames('fa', isPaused || !isLive ? 'fa-play' : 'fa-pause')} />
<span>&nbsp; Live tailing</span>
<span>&nbsp; Live</span>
</button>
</Tooltip>
<CSSTransition

Loading…
Cancel
Save