mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-22 03:31:58 +00:00
Removed direct calls between actions without DI
This commit is contained in:
@@ -35,9 +35,9 @@ const provideServices = (bottle, connect, withRouter) => {
|
||||
|
||||
// Actions
|
||||
bottle.serviceFactory('selectServer', selectServer, 'ServersService');
|
||||
bottle.serviceFactory('createServer', createServer, 'ServersService');
|
||||
bottle.serviceFactory('createServers', createServers, 'ServersService');
|
||||
bottle.serviceFactory('deleteServer', deleteServer, 'ServersService');
|
||||
bottle.serviceFactory('createServer', createServer, 'ServersService', 'listServers');
|
||||
bottle.serviceFactory('createServers', createServers, 'ServersService', 'listServers');
|
||||
bottle.serviceFactory('deleteServer', deleteServer, 'ServersService', 'listServers');
|
||||
bottle.serviceFactory('listServers', listServers, 'ServersService');
|
||||
|
||||
bottle.serviceFactory('resetSelectedServer', () => resetSelectedServer);
|
||||
|
||||
Reference in New Issue
Block a user