1👍
Sadly, I can’t comment on this, so my response has to be an answer.
I don’t think the problem has to do with Pinia. I checked and recreated it, and things are fine. I suggest looking into other areas, such as your Vue instance and the function itself that is being called. Try slowly removing things to bare bones to see if it’ll work. You’ll also want to confirm that after your "await" function "fetchActions" is called, it actually finishes, and the state updates.
If the state is updating, then you know it has to be related to the Vue instance. You could then try rebuilding in another Vue instance to help narrow down the issue.
I hope this helps!
- [Vuejs]-$refs is undefined when window.addEventListener('focus') is being fired
- [Vuejs]-Retrieving an Array with Axios in Laravel
Source:stackexchange.com