mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
parent
5fb72eed85
commit
c84e8d1e09
@ -592,10 +592,10 @@ angular.module('syncthing.core')
|
|||||||
$scope.completion[device]._needItems = items + deletes;
|
$scope.completion[device]._needItems = items + deletes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needed == 0 && deletes > 0) {
|
if (needed == 0 && deletes + items > 0 ) {
|
||||||
// We don't need any data, but we have deletes that we need
|
// We don't need any data, but we have deletes or
|
||||||
// to do. Drop down the completion percentage to indicate
|
// dirs/links/empty files that we need to do. Drop down the
|
||||||
// that we have stuff to do.
|
// completion percentage to indicate that we have stuff to do.
|
||||||
$scope.completion[device]._total = 95;
|
$scope.completion[device]._total = 95;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user