Added list of servers connected to store in ServerError component

This commit is contained in:
Alejandro Celaya
2020-03-08 12:49:52 +01:00
parent d1a5ee43e9
commit 9804a2d18d
7 changed files with 18 additions and 14 deletions

View File

@@ -27,7 +27,8 @@ const provideServices = (bottle, connect, withRouter) => {
'AsideMenu',
'CreateShortUrl',
'ShortUrlVisits',
'ShlinkVersions'
'ShlinkVersions',
'ServerError'
);
bottle.decorator('MenuLayout', connect([ 'selectedServer', 'shortUrlsListParams' ], [ 'selectServer' ]));
bottle.decorator('MenuLayout', withRouter);