diff --git a/src/app/core/components/main/header/header.component.ts b/src/app/core/components/main/header/header.component.ts index 8793e17ac7f7025abe810503c266fad2a4133d70..aa737100293fdce377bc166c132082c1c54ba859 100644 --- a/src/app/core/components/main/header/header.component.ts +++ b/src/app/core/components/main/header/header.component.ts @@ -54,9 +54,11 @@ export class HeaderComponent implements OnInit { } signOut() { + this._router.navigateByUrl(AppRoutes.home.uri); + this._userService.resetAuth(); this.closeUserDropdown(); - this._router.navigate(['/', AppRoutes.home.uri]); + } closeUserDropdown() { diff --git a/src/app/editorialisation/services/seo.service.ts b/src/app/editorialisation/services/seo.service.ts index b94e6e940ca399fe5c7c03969f77f2f2af83ca9f..9bae842d02fea7ec52eec466928583164cf06723 100644 --- a/src/app/editorialisation/services/seo.service.ts +++ b/src/app/editorialisation/services/seo.service.ts @@ -39,7 +39,6 @@ export class SeoSErvice { description = post.content.excerpt; if (description.length > 140 ) { description = `${description.substr(0,description.substr(0,136).lastIndexOf(' '))}...`; - console.log('ici.'); } }