Async props not worked in child component computed property. #8829
Unanswered
shankhadevpadam
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a parent component that has async api data in the mounted function then the property passes into the props in the child computed and those props use in the computed property of the child component. But it doesn't work in the child component.
In the code below when I passed the departure props into the child component. And when I calculate the value using computed property inside the child component it returns 0. What is the issue with my code?
Child Component
Beta Was this translation helpful? Give feedback.
All reactions