Files
wg-ui/ui
sclem e176ae04c2 ui: avoid "async race" with new client POST
The getClients() and POST request were being issued one after another
(not waiting for the POST to return). This can cause the GET /clients to
return the old list before the user config is updated. Waiting for the
POST to return before retrieving the new client list fixes the race.

This behavior can be reproduced by adding a time.Sleep(time.Second) to
the CreateClient server handler.
2020-01-17 11:22:26 -05:00
..
2019-10-03 15:51:36 +02:00
2019-12-10 14:46:17 +01:00
2019-12-10 14:46:17 +01:00