Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose panel component ID via the PanelApi #569

Closed
qcz opened this issue Apr 15, 2024 · 2 comments · Fixed by #570
Closed

Expose panel component ID via the PanelApi #569

qcz opened this issue Apr 15, 2024 · 2 comments · Fixed by #570

Comments

@qcz
Copy link
Contributor

qcz commented Apr 15, 2024

When loading panels from JSONs it would be nice to known the ID of the component belonging to the loaded panels for bookkeeping reasons.

PanelApiImpl already has this info (I can access it using (panel as any).api.component), it is just not part of the public PanelApi interface.

It would be nice if its officially available in PanelApi.

@mathuo mathuo linked a pull request Apr 15, 2024 that will close this issue
@mathuo mathuo reopened this Apr 15, 2024
@mathuo
Copy link
Owner

mathuo commented Apr 15, 2024

Fixed and published as version 1.12.0

@mathuo mathuo closed this as completed Apr 15, 2024
@qcz
Copy link
Contributor Author

qcz commented Apr 16, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants