Commit c180facb by Ryan McKinley Committed by GitHub

Chore: use visualization name in field config header (#27579)

parent 0ae534a7
...@@ -317,7 +317,7 @@ export class PanelPlugin<TOptions = any, TFieldConfigOptions extends object = an ...@@ -317,7 +317,7 @@ export class PanelPlugin<TOptions = any, TFieldConfigOptions extends object = an
for (const customProp of builder.getRegistry().list()) { for (const customProp of builder.getRegistry().list()) {
customProp.isCustom = true; customProp.isCustom = true;
customProp.category = ['Custom options'].concat(customProp.category || []); customProp.category = [`${this.meta.name} options`].concat(customProp.category || []);
// need to do something to make the custom items not conflict with standard ones // need to do something to make the custom items not conflict with standard ones
// problem is id (registry index) is used as property path // problem is id (registry index) is used as property path
// so sort of need a property path on the FieldPropertyEditorItem // so sort of need a property path on the FieldPropertyEditorItem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment