From 7f4cb7caf3641990e3101ec5376267cd21b719a4 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sat, 19 May 2018 10:42:48 +0800 Subject: [PATCH] fix(torrents): fixed eslint warning --- .../client/controllers/torrent-info.client.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/torrents/client/controllers/torrent-info.client.controller.js b/modules/torrents/client/controllers/torrent-info.client.controller.js index 59cdc559..fc99ecb6 100644 --- a/modules/torrents/client/controllers/torrent-info.client.controller.js +++ b/modules/torrents/client/controllers/torrent-info.client.controller.js @@ -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); }