1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-18 17:29:43 +07:00
verdaccio-ui/src/webui
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
..
components fix: use auto for overflow-y (#57) 2019-05-16 11:38:22 -07:00
icons chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
pages chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
styles chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
template feat: browser history is aware of basename (#45) 2019-05-04 12:13:29 +02:00
utils chore: validator use less bundle size (#61) 2019-05-17 07:58:56 +02:00
.eslintrc chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
app.js fix: fixed failed to load all packages after login (#73) 2019-06-10 11:49:18 +02:00
app.scss chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
history.js feat: browser history is aware of basename (#45) 2019-05-04 12:13:29 +02:00
index.js chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
router.js chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00