mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-14 19:43:49 +00:00
Fixed loading state in servers list
This commit is contained in:
@@ -16,6 +16,7 @@ export const listShortUrls = (serverId) => {
|
||||
const selectedServer = ServersService.findServerById(serverId);
|
||||
|
||||
ShlinkApiClient.setConfig(selectedServer);
|
||||
dispatch({ type: LIST_SHORT_URLS, shortUrls: await ShlinkApiClient.listShortUrls() });
|
||||
const shortUrls = await ShlinkApiClient.listShortUrls();
|
||||
dispatch({ type: LIST_SHORT_URLS, shortUrls });
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user