update org after share

This commit is contained in:
Kyle Spearrin 2017-04-14 23:36:11 -04:00
parent c4a3e5c4fd
commit 309c73a972
2 changed files with 3 additions and 3 deletions

View File

@ -269,8 +269,8 @@
}
});
modal.result.then(function () {
modal.result.then(function (orgId) {
login.organizationId = orgId;
});
};

View File

@ -105,7 +105,7 @@
$scope.submitPromise = apiService.ciphers.putShare({ id: loginId }, request, function (response) {
$analytics.eventTrack('Shared Login');
$uibModalInstance.close();
$uibModalInstance.close(model.organizationId);
}).$promise;
};