Updated to node 16 and allowed to auto-connect to the first server marked as auto-connect

This commit is contained in:
Alejandro Celaya
2021-10-31 00:07:38 +02:00
parent bd0fca23cf
commit e8ea3b4abe
8 changed files with 39365 additions and 63 deletions

View File

@@ -28,6 +28,7 @@ const provideServices = (bottle: Bottle, connect: ConnectDecorator, withRouter:
bottle.serviceFactory('Home', () => Home);
bottle.decorator('Home', withoutSelectedServer);
bottle.decorator('Home', withRouter);
bottle.decorator('Home', connect([ 'servers' ], [ 'resetSelectedServer' ]));
bottle.serviceFactory(