mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
DashboardListPanel: Fixes issue with folder picker always showing All and using old form styles (#31160)
This commit is contained in:
parent
a18e4d8d64
commit
a17661d198
@ -45,7 +45,15 @@ export const plugin = new PanelPlugin<DashListOptions>(DashList)
|
||||
id: 'folderId',
|
||||
defaultValue: null,
|
||||
editor: function RenderFolderPicker(props) {
|
||||
return <FolderPicker initialTitle="All" enableReset={true} onChange={({ id }) => props.onChange(id)} />;
|
||||
return (
|
||||
<FolderPicker
|
||||
initialFolderId={props.value}
|
||||
useNewForms
|
||||
initialTitle="All"
|
||||
enableReset={true}
|
||||
onChange={({ id }) => props.onChange(id)}
|
||||
/>
|
||||
);
|
||||
},
|
||||
})
|
||||
.addCustomEditor({
|
||||
|
Loading…
Reference in New Issue
Block a user