Component doesn't render the changes after update from composables fn #9687
Unanswered
phelps-90
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hell everyone i am new. Hope you can help me with this thing that is making me crazy:
App made with: VITE, INERTIA, VUE , LARAVEL
i have a composables function that noly return true if more than 2 month have passed.
This is the usage i do of it in the component: Map
As you see when i click on the update button it triggers the function update that correctly update the backend..
the only thing that is not updated is the layout. The mapDetail receive the prop :confrontDate="confrontDate" and in this componet i have just this thing:
i have to reload the page manually to erease the condition confrontDate that is clearly false after update..
How can i solve? How can i tell vue to read again the newly updated component all after PUT update has been done?
Thank you i was clear.
Sorry but i am italian and not an english spinking people
Beta Was this translation helpful? Give feedback.
All reactions