mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix header options for mobile (#1186)
* #1178 show header bar on mobile and tablet * #1178 add all options to burger icon on the right
This commit is contained in:
committed by
Eugenio Romano
parent
7eab89c5ef
commit
d768f84838
@@ -74,10 +74,12 @@ export class AppComponent {
|
||||
.subscribe(
|
||||
() => {
|
||||
this.router.navigate(['/login']);
|
||||
this.hideDrawer();
|
||||
},
|
||||
($event: any) => {
|
||||
if ($event && $event.response && $event.response.status === 401) {
|
||||
this.router.navigate(['/login']);
|
||||
this.hideDrawer();
|
||||
} else {
|
||||
console.error('An unknown error occurred while logging out', $event);
|
||||
}
|
||||
@@ -97,6 +99,7 @@ export class AppComponent {
|
||||
|
||||
changeLanguage(lang: string) {
|
||||
this.translate.use(lang);
|
||||
this.hideDrawer();
|
||||
}
|
||||
|
||||
hideDrawer() {
|
||||
|
Reference in New Issue
Block a user