mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
New panel edit: field overrides ui (#22036)
* Add title editor * Wip * FIeld config overrides UI (v1) * Basic property override editors * name to prop * use prop not path Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@@ -240,7 +240,11 @@ export class PanelEditor extends PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
if (plugin.editor && panel) {
|
||||
return <plugin.editor data={data} options={panel.getOptions()} onOptionsChange={this.onPanelOptionsChanged} />;
|
||||
return (
|
||||
<div style={{ marginTop: '40px' }}>
|
||||
<plugin.editor data={data} options={panel.getOptions()} onOptionsChange={this.onPanelOptionsChanged} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return <div>No editor (angular?)</div>;
|
||||
|
||||
Reference in New Issue
Block a user