gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 30/459: clear local storage


From: gnunet
Subject: [reclaim-ui] 30/459: clear local storage
Date: Fri, 11 Jun 2021 23:22:02 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit 87263326304937b62d206f6f86edb0e9865e9422
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Mar 19 09:04:39 2019 +0100

    clear local storage
---
 src/app/identity-list/identity-list.component.ts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 4736b1c..d3b3754 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -69,6 +69,20 @@ export class IdentityListComponent implements OnInit {
       this.identityInEditName = "";
       this.identityNameMapper = {};
       this.updateIdentities();
+      browser.storage.local.remove("request").then(() => {
+          console.log("Local storage request removed.");
+        },
+        (e) => {
+          console.log(e);
+        }
+      );
+      browser.storage.local.remove("search").then(() => {
+          console.log("Local storage request removed.");
+        },
+        (e) => {
+          console.log(e);
+        }
+      );
       console.log("processed localstorage");
     });
     this.getClientName();

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]