1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-01 17:15:06 +07:00
verdaccio-ui/src
coolsp 7bac0886eb fix: fixed failed to load all packages after login (#73)
A login forces react to reload the list of available packages (by changing the state).
However the state (which triggers react to refresh) is set before storing the login token resulting in fetching (XHR GET) only the public packages as the token is not yet available in the GET request.

Fixed by setting the storage items ('username' and 'token') before this.setLoggedUser().
2019-06-10 11:49:18 +02:00
..
config chore: fix webpack build 2019-04-04 21:45:26 +02:00
lib chore: remove unused code 2019-04-06 17:42:52 +02:00
webui fix: fixed failed to load all packages after login (#73) 2019-06-10 11:49:18 +02:00