gui: Initialise sharing when accepting new device (fixes #7113) (#7114)

This commit is contained in:
Simon Frei 2020-11-11 18:18:34 +01:00 committed by GitHub
parent b8051fb37e
commit 1f81940a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1535,6 +1535,7 @@ angular.module('syncthing.core')
ignoredFolders: []
};
$scope.editingExisting = false;
initShareEditing('device');
$scope.deviceEditor.$setPristine();
$('#editDevice').modal();
});

View File

@ -1556,6 +1556,7 @@ angular.module('syncthing.core')
ignoredFolders: []
};
$scope.editingExisting = false;
initShareEditing('device');
$scope.deviceEditor.$setPristine();
$('#editDevice').modal();
});