mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: updates TableContainer to use MetaInfoText component
This commit is contained in:
parent
d99121d6fa
commit
865a8dd355
@ -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…
Reference in New Issue
Block a user