1
0
mirror of https://github.com/bitwarden/web synced 2025-12-13 14:53:25 +00:00

delete attachments

This commit is contained in:
Kyle Spearrin
2017-07-07 10:58:51 -04:00
parent b380d723b7
commit ff729608e1
4 changed files with 38 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ angular
name: _service.decryptProperty(encryptedCipher.Data.Name, key, false),
username: _service.decryptProperty(encryptedCipher.Data.Username, key, true),
password: _service.decryptProperty(encryptedCipher.Data.Password, key, true),
hasAttachments: !!encryptedCipher.Attachments
hasAttachments: !!encryptedCipher.Attachments && encryptedCipher.Attachments.length > 0
};
return login;