mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Library Panels: Don't list current panel in available panels list (#31472)
This commit is contained in:
@@ -59,6 +59,7 @@ export const PanelLibraryOptionsGroup: React.FC<Props> = ({ panel, dashboard })
|
||||
>
|
||||
<LibraryPanelsView
|
||||
formatDate={(dateString: string) => dashboard.formatDate(dateString, 'L')}
|
||||
currentPanelId={panel.libraryPanel?.uid}
|
||||
showSecondaryActions
|
||||
>
|
||||
{(panel) => (
|
||||
|
||||
Reference in New Issue
Block a user