MVC: fix logout problem
SPA: Basket status refresh
This commit is contained in:
parent
cc1bbb18af
commit
c23dc0a372
@ -88,7 +88,8 @@ namespace eShopOnContainers.Identity.Configuration
|
||||
},
|
||||
PostLogoutRedirectUris = new List<string>
|
||||
{
|
||||
$"{clientsUrl["Mvc"]}/"
|
||||
$"{clientsUrl["Mvc"]}/",
|
||||
"http://localhost:5100/"
|
||||
},
|
||||
AllowedScopes = new List<string>
|
||||
{
|
||||
|
File diff suppressed because one or more lines are too long
@ -31,7 +31,10 @@ export class BasketStatusComponent implements OnInit {
|
||||
});
|
||||
|
||||
// Subscribe to Drop Basket Observable:
|
||||
this.basketDroppedSubscription = this.service.basketDroped$.subscribe(res => this.badge = 0);
|
||||
this.basketDroppedSubscription = this.service.basketDroped$.subscribe(res => {
|
||||
this.badge = 0;
|
||||
console.log('dropped event fired');
|
||||
});
|
||||
|
||||
// Subscribe to login and logout observable
|
||||
this.authSubscription = this.authService.authenticationChallenge$.subscribe(res => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user