Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbinsky <timo@binsky.org>2021-08-31 18:50:54 +0300
committerbinsky <timo@binsky.org>2021-08-31 18:50:54 +0300
commit4a1cfe3b7ae5759370de41c95c6348f13f19e473 (patch)
tree8620e809b79e82f2b03af78a0e06cce721bd6646 /js
parent30f200caf2a835008b2c5da957d041fead6e9439 (diff)
fix showing deleted credentials
Signed-off-by: binsky <timo@binsky.org>
Diffstat (limited to 'js')
-rw-r--r--js/app/controllers/credential.js2
-rw-r--r--js/app/controllers/menu.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js
index 8c709b28..440af994 100644
--- a/js/app/controllers/credential.js
+++ b/js/app/controllers/credential.js
@@ -447,7 +447,7 @@
var creds_filtered=[];
for (var i = 0; i < $scope.active_vault.credentials.length; i++) {
- if($scope.active_vault.credentials[i].delete_time===0){
+ if($scope.active_vault.credentials[i].delete_time===0 || $scope.delete_time > 0){
creds_filtered.push($scope.active_vault.credentials[i]);
}
}
diff --git a/js/app/controllers/menu.js b/js/app/controllers/menu.js
index 0c1ed6b2..edf57b9f 100644
--- a/js/app/controllers/menu.js
+++ b/js/app/controllers/menu.js
@@ -134,7 +134,9 @@
if(string !== "nav_trashbin"){
$scope.delete_time=0;
$rootScope.$broadcast('set_delete_time', $scope.delete_time);
- }
+ } else {
+ string = "all";
+ }
$scope.selectedTags =[];
$rootScope.$broadcast('filterSpecial',string);