PanelEdit: Do not show override option for panel with no field config options (#33699)

* Do not show overrides button if there are no field config options

* not show radiobuttons for non data panels

* remove unused style
This commit is contained in:
Torkel Ödegaard
2021-05-04 20:43:53 +02:00
committed by GitHub
parent 36fc37fd0e
commit dbe9a30ad0
5 changed files with 27 additions and 5 deletions
@@ -171,7 +171,7 @@ export const Components = {
},
QueryField: { container: 'Query field' },
ValuePicker: {
button: 'Value picker add button',
button: (name: string) => `Value picker button ${name}`,
select: (name: string) => `Value picker select ${name}`,
},
Search: {