Replies: 1 comment
-
Issue resolved in #1281 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very helpful to have an option to pass data (either product slug or id) to addActionBarItem as a payload or parameter and access it in the embedded app (React).
My user case: Venture admin-UI is extended by react-app. React component is fetching data from another API based on selected product (slug/id), button addActionBarItem is located at product-details. When I try to pass the ID to the URL, react component can't access it.
Is there any workaround?
Request created based on @michaelbromley from Vendure Slack Channel.
Original comment: We are lacking an API that allows you to easily access state from your embedded app.
This can be added though - we can use the same PostMessage channels that we already use to securely pass data to the data service & notification service. Could you open a feature request for this?
Thank you for any help,
Tomas
Beta Was this translation helpful? Give feedback.
All reactions