Added create short URL form

This commit is contained in:
Alejandro Celaya
2018-07-21 10:38:54 +02:00
parent b2fa86a917
commit d382ee8d95
8 changed files with 129 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ export default function reducer(state = initialState, action) {
export const listShortUrls = (serverId, params = {}) => {
return async dispatch => {
dispatch({ type: LIST_SHORT_URLS_START });
const selectedServer = ServersService.findServerById(serverId);
ShlinkApiClient.setConfig(selectedServer);