Replies: 1 comment
-
I'm not entirely sure that I understand your use case but you can manually update the auth store by calling pb.authStore.save(pb.authStore.token, e.record) |
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
-
i have the typical user table but with a balance, i listen to the balance if it is update from the admin ui like this
this updates it but the local storage data isnt updated and i think it is better to fetch the user balance from the local storage due to it being faster, do i update it using authRefresh? or is it better to fetch balance each time
Beta Was this translation helpful? Give feedback.
All reactions