Explore: updates TableContainer to use MetaInfoText component

pull/21854/head
Lukas Siatka 5 years ago committed by Lukas Siatka
parent d99121d6fa
commit 865a8dd355
  1. 7
      public/app/features/explore/TableContainer.tsx

@ -8,6 +8,7 @@ import { StoreState } from 'app/types';
import { toggleTable } from './state/actions';
import { config } from 'app/core/config';
import { PANEL_BORDER } from 'app/core/constants';
import { MetaInfoText } from './MetaInfoText';
interface TableContainerProps {
exploreId: ExploreId;
@ -47,11 +48,7 @@ export class TableContainer extends PureComponent<TableContainerProps> {
{hasTableResult ? (
<Table data={tableResult} width={tableWidth} height={height} onCellClick={onClickCell} />
) : (
<div className="logs-panel-meta">
<div className="logs-panel-meta__item">
<span className="logs-panel-meta__value">0 series returned</span>
</div>
</div>
<MetaInfoText metaItems={[{ value: '0 series returned' }]} />
)}
</Collapse>
);

Loading…
Cancel
Save