mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
gui: fix setDeviceConfig updating devices with undefined key (#7339)
This commit is contained in:
parent
6db8dc33f2
commit
d0c84916c7
@ -1636,7 +1636,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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user