fix(torrents): fixed eslint warning

This commit is contained in:
OldHawk
2018-05-19 10:42:48 +08:00
parent 8a89b27d9a
commit 7f4cb7caf3

View File

@@ -95,7 +95,7 @@
* $watch 'vm.torrentLocalInfo'
*/
$scope.$watch('vm.torrentLocalInfo', function (newValue, oldValue) {
if(vm.torrentLocalInfo) {
if (vm.torrentLocalInfo) {
vm.torrentLocalInfo.resource_detail_info.custom_title = vm.TGI.getTorrentCustomTitle(vm.torrentLocalInfo);
vm.torrentLocalInfo.resource_detail_info.custom_subtitle = vm.TGI.getTorrentCustomSubTitle(vm.torrentLocalInfo);
}