mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: updates explore table container to show a span on 0 series returned
This commit is contained in:
parent
57a0f0fe92
commit
2bdbdd6930
@ -43,6 +43,13 @@ export class TableContainer extends PureComponent<TableContainerProps> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Collapse label="Table" loading={loading} collapsible isOpen={showingTable} onToggle={this.onClickTableButton}>
|
<Collapse label="Table" loading={loading} collapsible isOpen={showingTable} onToggle={this.onClickTableButton}>
|
||||||
|
{!tableResult?.length && (
|
||||||
|
<div className="logs-panel-meta">
|
||||||
|
<div className="logs-panel-meta__item">
|
||||||
|
<span className="logs-panel-meta__value">0 series returned</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{tableResult && <Table data={tableResult} width={tableWidth} height={height} onCellClick={onClickCell} />}
|
{tableResult && <Table data={tableResult} width={tableWidth} height={height} onCellClick={onClickCell} />}
|
||||||
</Collapse>
|
</Collapse>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user