Migration channelMapper to ES6 modules

This commit is contained in:
grafixeyehero 2020-06-09 22:57:27 +03:00
parent e160467f61
commit 9e123ad60b
3 changed files with 45 additions and 34 deletions

View file

@ -155,8 +155,8 @@ define(['jQuery', 'globalize', 'scripts/taskbutton', 'dom', 'libraryMenu', 'layo
}
function mapChannels(page, providerId) {
require(['components/channelMapper/channelMapper'], function (channelmapper) {
new channelmapper({
require(['components/channelMapper/channelMapper'], function (channelMapper) {
new channelMapper.default({
serverId: ApiClient.serverInfo().Id,
providerId: providerId
}).show();