Export: Remove DS input when dashboard is imported with a lib panel that already exists (#69412)

This commit is contained in:
Juan Cabanas
2023-07-27 13:11:15 -03:00
committed by GitHub
parent 649cd08a19
commit 427714f8d0
11 changed files with 878 additions and 81 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (l *LibraryElementService) createHandler(c *contextmodel.ReqContext) respon
cmd.FolderID = folder.ID
}
}
element, err := l.createLibraryElement(c.Req.Context(), c.SignedInUser, cmd)
element, err := l.CreateElement(c.Req.Context(), c.SignedInUser, cmd)
if err != nil {
return toLibraryElementError(err, "Failed to create library element")
}