mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
gui: Prevent error without completion and nicer wrapping (fixes #4636)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4637
This commit is contained in:
parent
992bb0a98c
commit
d87287c0d0
@ -2054,7 +2054,7 @@ angular.module('syncthing.core')
|
|||||||
resetRemoteNeed();
|
resetRemoteNeed();
|
||||||
$scope.remoteNeedDevice = device;
|
$scope.remoteNeedDevice = device;
|
||||||
$scope.deviceFolders(device).forEach(function(folder) {
|
$scope.deviceFolders(device).forEach(function(folder) {
|
||||||
if ($scope.completion[device.deviceID][folder].needItems === 0) {
|
if ($scope.completion[device.deviceID][folder] !== undefined && $scope.completion[device.deviceID][folder].needItems === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$scope.remoteNeedFolders.push(folder);
|
$scope.remoteNeedFolders.push(folder);
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div id="remoteNeed-{{folder}}" class="panel-collapse collapse">
|
<div id="remoteNeed-{{folder}}" class="panel-collapse collapse">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<table class="table table-striped table-dynamic">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th translate>Path</th>
|
<th translate>Path</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user