[USERSNAP] Restore Votes does not upate My Votes
- [ ] Refetch the page after restoring votes from JSON file
Solution on refetching query was added recently @thesan can you pls point to the right place?
Taken at: https://dao.joystream.org/#/election Fields:
- Houston, we have a problem.: Restore Votes does not upate My Votes
- Comment: The votes are restored from file but user has to reload the page manually.
- Feedback: l1dev
Browser: Chrome 100 (Linux) Screen size: 1920x1080 Browser size: 1190x1216 Open #242 in Usersnap
Powered by Usersnap.
Probably must be addressed in #2311. To be triaged.
Tested on https://dao-git-carthage-joystream.vercel.app/#/election wss://54.227.116.57.nip.io/ws-rpc
@traumschule @dmtrjsg Looks like not fixed yet
⚠️ The votes are restored from file but user has to reload the page manually. Tested on Voting and Revealing stages.
To test this case, I voted for a few candidates then backup votes, and then deleted votes from Local Storage.
There's a fix in #3868 by @mkbeefcake.
Tested on https://dao-keoneo7vf-joystream.vercel.app/#/election wss://34.230.5.182.nip.io/ws-rpc
Works as expected on this env. Page updated after restoring votes