Browse Source

gui: Apply #7339 to untrusted

Simon Frei 4 years ago
parent
commit
50a621bc7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/default/untrusted/syncthing/core/syncthingController.js

+ 1 - 1
gui/default/untrusted/syncthing/core/syncthingController.js

@@ -1650,7 +1650,7 @@ angular.module('syncthing.core')
         };
 
         function setDeviceConfig() {
-            var currentID = $scope.currentDevice.DeviceID;
+            var currentID = $scope.currentDevice.deviceID;
             $scope.devices[currentID] = $scope.currentDevice;
             $scope.config.devices = deviceList($scope.devices);