mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00: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() {
|
function setDeviceConfig() {
|
||||||
var currentID = $scope.currentDevice.DeviceID;
|
var currentID = $scope.currentDevice.deviceID;
|
||||||
$scope.devices[currentID] = $scope.currentDevice;
|
$scope.devices[currentID] = $scope.currentDevice;
|
||||||
$scope.config.devices = deviceList($scope.devices);
|
$scope.config.devices = deviceList($scope.devices);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user