Removed handling of most short URLs list params from a reducer

This commit is contained in:
Alejandro Celaya
2021-11-11 21:28:17 +01:00
parent 21b8e05e35
commit 2e77cd1969
9 changed files with 25 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ const provideServices = (bottle: Bottle, connect: ConnectDecorator, withRouter:
'EditShortUrl',
'ManageDomains',
);
bottle.decorator('MenuLayout', connect([ 'selectedServer', 'shortUrlsListParams' ], [ 'selectServer' ]));
bottle.decorator('MenuLayout', connect([ 'selectedServer' ], [ 'selectServer' ]));
bottle.decorator('MenuLayout', withRouter);
bottle.serviceFactory('AsideMenu', AsideMenu, 'DeleteServerButton');