PanelEditor: Fixes issue with Table view and multi data frames (#49854) (#49866)

(cherry picked from commit 056a1fec3d)

Co-authored-by: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-05-31 05:47:14 +02:00
committed by GitHub
co-authored by Joao Silva
parent 5820ac0d76
commit 50ada76a7d
@@ -145,7 +145,7 @@ export class TablePanel extends Component<Props> {
return (
<div className={tableStyles.wrapper}>
{this.renderTable(data.series[currentIndex], width, height - inputHeight + padding)}
{this.renderTable(data.series[currentIndex], width, height - inputHeight - padding)}
<div className={tableStyles.selectWrapper}>
<Select options={names} value={names[currentIndex]} onChange={this.onChangeTableSelection} />
</div>