Add tags to encryption count

This commit is contained in:
Mo Bitar
2017-08-22 16:14:49 -05:00
parent e1f6316e01
commit 1b79ca2ae3

View File

@@ -222,8 +222,8 @@ class AccountMenu {
} }
$scope.encryptionStatusForNotes = function() { $scope.encryptionStatusForNotes = function() {
var allNotes = modelManager.filteredNotes; var items = modelManager.allItemsMatchingTypes(["Note", "Tag"]);
return allNotes.length + "/" + allNotes.length + " notes encrypted"; return items.length + "/" + items.length + " notes and tags encrypted";
} }
$scope.importJSONData = function(data, password, callback) { $scope.importJSONData = function(data, password, callback) {