Commit dc3083b7 authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

disconnect move to homepage

parent b9ca19bd
......@@ -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() {
......
......@@ -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.');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment