snappymail/dev/View/Admin/Settings/Menu.js
djmaze 75c879836c Settings menus:
- remove .disabled, never used
- cleanup/simplify code
2021-04-22 16:02:12 +02:00

18 lines
322 B
JavaScript

import { AbstractViewLeft } from 'Knoin/AbstractViews';
class MenuSettingsAdminView extends AbstractViewLeft {
/**
* @param {?} screen
*/
constructor(screen) {
super('Admin/Settings/Menu', 'AdminMenu');
this.menu = screen.menu;
}
link(route) {
return '#/' + route;
}
}
export { MenuSettingsAdminView };