1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +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

@@ -217,7 +217,7 @@
return;
}
var addModel = $uibModal.open({
var attachmentModel = $uibModal.open({
animation: true,
templateUrl: 'app/vault/views/vaultAttachments.html',
controller: 'vaultAttachmentsController',
@@ -226,8 +226,8 @@
}
});
addModel.result.then(function (data) {
attachmentModel.result.then(function (hasAttachments) {
login.hasAttachments = hasAttachments;
});
});
};