Commit 022c1ee2 authored by Matthieu BENOIST's avatar Matthieu BENOIST
Browse files

Merge branch 'DOS0149540' into 'master'

disconnect alway navigate to the homepage

See merge request !141
parents b9ca19bd dc3083b7
Pipeline #16662 passed with stage
in 8 minutes and 54 seconds
......@@ -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