Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin user list does not refresh after activating a user #812

Closed
ml-evs opened this issue Jul 17, 2024 · 1 comment · Fixed by #967
Closed

Admin user list does not refresh after activating a user #812

ml-evs opened this issue Jul 17, 2024 · 1 comment · Fixed by #967
Assignees
Labels
bug Something isn't working

Comments

@ml-evs
Copy link
Member

ml-evs commented Jul 17, 2024

It currently disappears; this is a bug introduced by me in a recent PR.

@ml-evs ml-evs self-assigned this Jul 17, 2024
@BenjaminCharmes
Copy link
Contributor

BenjaminCharmes commented Aug 27, 2024

The problem seems to be in the UserTable.vue component (script -> methods -> updateUserStatus) at this line:

this.users = JSON.parse(JSON.stringify(getUsersList()));

I think this line isn't useful, as Vue already updates users when you change a user's Status. (And it failed because getUsersList() returns a promise and not just data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants