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

attachment errors

This commit is contained in:
Kyle Spearrin
2017-07-05 16:27:28 -04:00
parent b24f892f60
commit 1fb220c25e
3 changed files with 18 additions and 8 deletions

View File

@@ -200,6 +200,11 @@
};
$scope.attachments = function (login) {
if (!cryptoService.getEncKey()) {
toastr.error('You cannot use this feature until you update your encryption key.', 'Feature Unavailable');
return;
}
var addModel = $uibModal.open({
animation: true,
templateUrl: 'app/vault/views/vaultAttachments.html',
@@ -210,7 +215,7 @@
});
addModel.result.then(function (data) {
});
};