snappymail/dev/View/User/Settings/Menu.js

19 lines
309 B
JavaScript
Raw Normal View History

import { settings } from 'Common/Links';
import { AbstractViewLeft } from 'Knoin/AbstractViews';
2022-03-08 19:28:16 +08:00
export class SettingsMenuUserView extends AbstractViewLeft {
/**
* @param {Object} screen
*/
constructor(screen) {
2022-03-08 19:28:16 +08:00
super();
this.menu = screen.menu;
}
link(route) {
return settings(route);
}
}