@@ -24,6 +24,9 @@ angular.module('syncthing.core')
|
|||||||
scope.folderPathErrors.isParent = false;
|
scope.folderPathErrors.isParent = false;
|
||||||
scope.folderPathErrors.otherID = "";
|
scope.folderPathErrors.otherID = "";
|
||||||
scope.folderPathErrors.otherLabel = "";
|
scope.folderPathErrors.otherLabel = "";
|
||||||
|
if (!viewValue) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
for (var folderID in scope.folders) {
|
for (var folderID in scope.folders) {
|
||||||
if (folderID === scope.currentFolder.id) {
|
if (folderID === scope.currentFolder.id) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user