You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to refactor a custom Card for some Nova resources where status transitions can be made (from Nova 3 to 4). I took the HandlesActions.vue code and made some slight adjustments to fit my needs and called it HandlesTransitions.vue.
The code runs and the Nova actions are executed (the status changes successfully) but my resource is not updated in the end. I have to manually reload with CTRL+R or use window.location.reload. It's all happening inside the Detail view.
How/ where is this behavior of refreshing the resource implemented for the Nova actions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I had to refactor a custom
Card
for some Nova resources where status transitions can be made (from Nova 3 to 4). I took theHandlesActions.vue
code and made some slight adjustments to fit my needs and called itHandlesTransitions.vue
.The code runs and the Nova actions are executed (the status changes successfully) but my resource is not updated in the end. I have to manually reload with
CTRL+R
or usewindow.location.reload
. It's all happening inside the Detail view.How/ where is this behavior of refreshing the resource implemented for the Nova actions?
I can share my
Vue
files if it helps.Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions