Check if hash was being checked during torrent completion detection

This commit is contained in:
John Furrow
2016-10-25 14:13:14 +02:00
parent 3f91af8035
commit 84be2154b9
+2 -1
View File
@@ -5,7 +5,8 @@ let propsMap = require('../../shared/constants/propsMap');
class NotificationService {
hasFinished(prevData, nextData) {
return prevData.percentComplete < 100 && nextData.percentComplete === 100;
return !prevData.includes(propsMap.clientStatus.checking)
&& prevData.percentComplete < 100 && nextData.percentComplete === 100;
}
compareNewTorrentData(prevData, nextData) {