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

Open
ml-evs opened this issue Jul 17, 2024 · 1 comment
Open

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

ml-evs opened this issue Jul 17, 2024 · 1 comment
Assignees

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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants