diff --git a/modules/torrents/client/controllers/torrent-info.client.controller.js b/modules/torrents/client/controllers/torrent-info.client.controller.js index c14100e4..0c8cbd9d 100644 --- a/modules/torrents/client/controllers/torrent-info.client.controller.js +++ b/modules/torrents/client/controllers/torrent-info.client.controller.js @@ -146,6 +146,20 @@ }); }; + /** + * reviewedTorrentStatus + * @param item + */ + vm.reviewedTorrentStatus = function () { + vm.torrentLocalInfo.$setReviewedStatus(function (res) { + mtDebug.info(res); + vm.torrentLocalInfo = res; + NotifycationService.showSuccessNotify('TORRENT_SETREVIEWED_SUCCESSFULLY'); + }, function (res) { + NotifycationService.showErrorNotify(res.data.message, 'TORRENT_SETREVIEWED_ERROR'); + }); + }; + /** * toggleHnR */ diff --git a/modules/torrents/client/views/view-torrent.client.view.html b/modules/torrents/client/views/view-torrent.client.view.html index 54467ceb..c179833e 100644 --- a/modules/torrents/client/views/view-torrent.client.view.html +++ b/modules/torrents/client/views/view-torrent.client.view.html @@ -1043,6 +1043,9 @@ ng-click="vm.updateTorrent();"> {{ 'ADMIN_BASIC_UPDATE' | translate}} +