diff --git a/modules/users/client/controllers/status/uploaded.client.controller.js b/modules/users/client/controllers/status/uploaded.client.controller.js index 7c86ea91..1853843f 100644 --- a/modules/users/client/controllers/status/uploaded.client.controller.js +++ b/modules/users/client/controllers/status/uploaded.client.controller.js @@ -91,12 +91,12 @@ * @param tag: tag name * @returns {*} */ - vm.getTagTitle = function (tag) { + vm.getTagTitle = function (tag, item) { var tmp = tag; var find = false; var r = undefined; - switch (vm.torrentType) { + switch (item.torrent_type) { case 'tvserial': r = vm.resourcesTags.tv; break; diff --git a/modules/users/client/views/status/uploaded.client.view.html b/modules/users/client/views/status/uploaded.client.view.html index 4ae05ac1..f1d4ba70 100644 --- a/modules/users/client/views/status/uploaded.client.view.html +++ b/modules/users/client/views/status/uploaded.client.view.html @@ -1,6 +1,6 @@
-
-
+
+
    - {{ 'RESOURCESTAGS.' + vm.getTagTitle(t) + '.' + t | translate}} + {{ 'RESOURCESTAGS.' + vm.getTagTitle(t, item) + '.' + t | translate}}