Moved remote servers loading to separated action

This commit is contained in:
Alejandro Celaya
2020-04-27 12:54:52 +02:00
parent bdd7932e07
commit b08c6748c7
7 changed files with 114 additions and 132 deletions

View File

@@ -29,6 +29,7 @@ const connect = (propsFromState, actionServiceNames = []) =>
);
bottle.serviceFactory('App', App, 'MainHeader', 'Home', 'MenuLayout', 'CreateServer', 'EditServer', 'Settings');
bottle.decorator('App', connect([ 'servers' ], [ 'fetchServers' ]));
provideCommonServices(bottle, connect, withRouter);
provideShortUrlsServices(bottle, connect);