Skip to content

Users list in Settings does not refresh after creating or deleting a user #98

Description

@gnacho

Problem

In Settings, the users list is loaded once when the view mounts (effect depends on isAdmin and the stable refresh function). After creating or deleting a user from the modals, the list keeps showing the previous state until the page is reloaded. The action itself works and now shows a toast (#97), so the user is told it succeeded but does not see the change in the list.

Expected

The users list reloads after a create or delete (for example by depending on dataVersion, like other views do after refresh()).

Notes

Reproducible in demo mode: create a user, the toast confirms it, the list still shows the previous users. A full page reload shows the new state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions