Browse Source

gui: Fix use of old, renamed function in edit folder sharing tab (fixes #8369) (#8371)

Fix use of old, renamed function in edit folder sharing tab.
André Colomb 3 years ago
parent
commit
68aa00539e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/default/syncthing/folder/editFolderModalView.html

+ 1 - 1
gui/default/syncthing/folder/editFolderModalView.html

@@ -56,7 +56,7 @@
                 <a href="#" ng-click="selectAllSharedDevices(false)" translate>Deselect All</a></small>
                 <a href="#" ng-click="selectAllSharedDevices(false)" translate>Deselect All</a></small>
             </p>
             </p>
             <div class="form-group" ng-repeat="device in currentSharing.shared">
             <div class="form-group" ng-repeat="device in currentSharing.shared">
-              <share-template selected="currentSharing.selected" encryption-passwords="currentSharing.encryptionPasswords" id="{{device.deviceID}}" label="{{deviceNameMarkUnaccepted(device.deviceID, currentFolder.id)}}" folder-type="{{currentFolder.type}}" untrusted="device.untrusted || pendingIsRemoteEncrypted(currentFolder.id, device.deviceID)" />
+              <share-template selected="currentSharing.selected" encryption-passwords="currentSharing.encryptionPasswords" id="{{device.deviceID}}" label="{{deviceNameMarkRemoteState(device.deviceID, currentFolder.id)}}" folder-type="{{currentFolder.type}}" untrusted="device.untrusted || pendingIsRemoteEncrypted(currentFolder.id, device.deviceID)" />
             </div>
             </div>
             <p class="help-block" ng-if="folderHasUnacceptedDevices(currentFolder)">
             <p class="help-block" ng-if="folderHasUnacceptedDevices(currentFolder)">
               <sup>1</sup> <span translate>The remote device has not accepted sharing this folder.</span>
               <sup>1</sup> <span translate>The remote device has not accepted sharing this folder.</span>