mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
replace MDL sidebar with material2 menus (#2112)
* replace MDL sidebar with material2 menus - separate language picker - separate "more" menu * toolbar theme picker * fix toolbar button colors for different themes * revert the commented out code
This commit is contained in:
committed by
Eugenio Romano
parent
0767bb6b20
commit
619112c0ba
@@ -72,7 +72,6 @@ export class AppComponent {
|
||||
|
||||
navigateToLogin() {
|
||||
this.router.navigate(['/login']);
|
||||
this.hideDrawer();
|
||||
}
|
||||
|
||||
onToggleSearch(event) {
|
||||
@@ -87,12 +86,6 @@ export class AppComponent {
|
||||
|
||||
changeLanguage(lang: string) {
|
||||
this.translateService.use(lang);
|
||||
this.hideDrawer();
|
||||
}
|
||||
|
||||
hideDrawer() {
|
||||
// todo: workaround for drawer closing
|
||||
document.querySelector('.mdl-layout').MaterialLayout.toggleDrawer();
|
||||
}
|
||||
|
||||
private setProvider() {
|
||||
|
Reference in New Issue
Block a user