This commit is contained in:
brantje 2016-10-04 00:31:51 +02:00
parent 8b1b90ac5d
commit 43d993ebf9
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -138,6 +138,7 @@ angular.module('passmanApp')
$scope.unshareCredential = function (credential) { $scope.unshareCredential = function (credential) {
ShareService.unshareCredential(credential); ShareService.unshareCredential(credential);
//@TODO check why an item locks up after being shared with only a link
var _credential = angular.copy(credential); var _credential = angular.copy(credential);
_credential.shared_key = null; _credential.shared_key = null;
CredentialService.updateCredential(_credential).then(function () { CredentialService.updateCredential(_credential).then(function () {