mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LibrayPanels: Fix unlinking libray panel (#57825)
This commit is contained in:
@@ -370,8 +370,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
|
||||
onClick={() => {
|
||||
showModal(UnlinkModal, {
|
||||
onConfirm: () => {
|
||||
delete this.props.panel.libraryPanel;
|
||||
this.props.panel.render();
|
||||
this.props.panel.unlinkLibraryPanel();
|
||||
this.forceUpdate();
|
||||
},
|
||||
onDismiss: hideModal,
|
||||
|
||||
Reference in New Issue
Block a user