Added links to delete and edit the server when a server could not be reached

This commit is contained in:
Alejandro Celaya
2020-03-15 09:17:33 +01:00
parent dab75ab6a9
commit f44ec42f51
10 changed files with 75 additions and 49 deletions

View File

@@ -33,8 +33,8 @@ const provideServices = (bottle, connect, withRouter) => {
bottle.serviceFactory('ForServerVersion', () => ForServerVersion);
bottle.decorator('ForServerVersion', connect([ 'selectedServer' ]));
bottle.serviceFactory('ServerError', () => ServerError);
bottle.decorator('ServerError', connect([ 'servers' ]));
bottle.serviceFactory('ServerError', ServerError, 'DeleteServerButton');
bottle.decorator('ServerError', connect([ 'servers', 'selectedServer' ]));
// Services
bottle.constant('csvjson', csvjson);