mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
parent
2d3a535ced
commit
53fd54e308
@ -16,7 +16,7 @@ angular.module('syncthing.core')
|
||||
}
|
||||
});
|
||||
//Prevents user from adding a duplicate ID
|
||||
if ($scope.devices.hasOwnProperty(viewValue)) {
|
||||
if (scope.devices.hasOwnProperty(viewValue)) {
|
||||
ctrl.$setValidity('unique', false);
|
||||
} else {
|
||||
ctrl.$setValidity('unique', true);
|
||||
|
Loading…
Reference in New Issue
Block a user