mirror of
https://github.com/bitwarden/web
synced 2025-12-11 13:53:17 +00:00
attachment errors
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user