1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 07:03:26 +00:00

update listing when cipher is edited

This commit is contained in:
Kyle Spearrin
2017-10-12 15:48:30 -04:00
parent 001a116c8b
commit 598c7ea068
5 changed files with 23 additions and 16 deletions

View File

@@ -17,7 +17,7 @@
var cipher = cipherService.encryptCipher(model, $scope.cipher.type);
$scope.savePromise = apiService.ciphers.putAdmin({ id: cipherId }, cipher, function (cipherResponse) {
$analytics.eventTrack('Edited Organization Cipher');
var decCipher = cipherService.decryptCipher(cipherResponse);
var decCipher = cipherService.decryptCipherPreview(cipherResponse);
$uibModalInstance.close({
action: 'edit',
data: decCipher