fixed import/export unit tests + added specific method for getting segments for import

This commit is contained in:
Jonathan Labreuille
2016-09-30 15:52:17 +02:00
parent d32abff78d
commit b0ab9e0408
5 changed files with 37 additions and 13 deletions

View File

@@ -530,15 +530,11 @@ define(
width: '20em',
templateResult: function (item) {
item.subscriberCount = parseInt(item.subscriberCount);
return (item.subscriberCount > 0)
? item.name + ' (' + item.subscriberCount.toLocaleString() + ')'
: item.name;
return item.name + ' (' + item.subscriberCount.toLocaleString() + ')';
},
templateSelection: function (item) {
item.subscriberCount = parseInt(item.subscriberCount);
return (item.subscriberCount > 0)
? item.name + ' (' + item.subscriberCount.toLocaleString() + ')'
: item.name;
return item.name + ' (' + item.subscriberCount.toLocaleString() + ')';
}
})
.change(function () {