gui: Apply #7339 to untrusted

This commit is contained in:
Simon Frei 2021-02-07 10:53:55 +01:00
parent d0c84916c7
commit 50a621bc7b
No known key found for this signature in database
GPG Key ID: 7C31D23ECB1006F3

View File

@ -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);