gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 134/459: flush route on cancel


From: gnunet
Subject: [reclaim-ui] 134/459: flush route on cancel
Date: Fri, 11 Jun 2021 23:23:46 +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 54baec645d861fc1273a839e4da2ef94de64de14
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jul 16 14:33:57 2019 +0200

    flush route on cancel
---
 src/app/identity-list/identity-list.component.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index cad40c4..dbd635f 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -44,7 +44,8 @@ export class IdentityListComponent implements OnInit {
     private reclaimService: ReclaimService,
     private namestoreService: NamestoreService,
     private gnsService: GnsService,
-    private modalService: ModalService) {
+    private modalService: ModalService,
+    private router: Router) {
   }
 
   ngOnInit() {
@@ -335,6 +336,7 @@ export class IdentityListComponent implements OnInit {
     this.modalOpened = false;
     this.oidcService.cancelAuthorization().subscribe(() => {
       console.log('Request cancelled');
+      this.router.navigate(['/']);
     });
   }
 

-- 
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]