mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-31 17:46:17 +00:00
Registered first actions as services
This commit is contained in:
@@ -136,10 +136,15 @@ bottle.decorator('DeleteShortUrlModal', connectDecorator(
|
||||
[ 'shortUrlDeletion' ],
|
||||
{ deleteShortUrl, resetDeleteShortUrl, shortUrlDeleted }
|
||||
));
|
||||
|
||||
bottle.serviceFactory('editShortUrlTags', editShortUrlTags, 'ShlinkApiClient');
|
||||
bottle.serviceFactory('resetShortUrlsTags', () => resetShortUrlsTags);
|
||||
bottle.serviceFactory('shortUrlTagsEdited', () => shortUrlTagsEdited);
|
||||
|
||||
bottle.serviceFactory('EditTagsModal', EditTagsModal, 'TagsSelector');
|
||||
bottle.decorator('EditTagsModal', connectDecorator(
|
||||
[ 'shortUrlTags' ],
|
||||
{ editShortUrlTags, resetShortUrlsTags, shortUrlTagsEdited }
|
||||
[ 'editShortUrlTags', 'resetShortUrlsTags', 'shortUrlTagsEdited' ]
|
||||
));
|
||||
|
||||
export default container;
|
||||
|
||||
Reference in New Issue
Block a user