NewPanelEdit: Fixed missing react keys in list error

This commit is contained in:
Torkel Ödegaard
2020-04-05 15:21:53 +02:00
parent 3ec88a013f
commit 09bcdc1020
4 changed files with 49 additions and 46 deletions
@@ -20,6 +20,6 @@ export class TablePanel extends Component<Props> {
return <div>No Table Data...</div>;
}
return <Table height={height} width={width} data={data.series[0]} noHeader={!options.showHeader} />;
return <Table height={height - 16} width={width} data={data.series[0]} noHeader={!options.showHeader} />;
}
}
@@ -15,7 +15,6 @@ export const plugin = new PanelPlugin<Options, CustomFieldConfig>(TablePanel)
min: 20,
max: 300,
},
defaultValue: 1,
})
.addSelect({
id: 'displayMode',