mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-06 23:07:56 +08:00
23 lines
462 B
JavaScript
23 lines
462 B
JavaScript
import { settings, mailbox } from 'Common/Links';
|
|
import { getFolderInboxName } from 'Common/Cache';
|
|
|
|
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
|
|
|
export class MenuSettingsUserView extends AbstractViewLeft {
|
|
/**
|
|
* @param {Object} screen
|
|
*/
|
|
constructor(screen) {
|
|
super('SettingsMenu');
|
|
|
|
this.menu = screen.menu;
|
|
}
|
|
|
|
link(route) {
|
|
return settings(route);
|
|
}
|
|
|
|
backToMailBoxClick() {
|
|
rl.route.setHash(mailbox(getFolderInboxName()));
|
|
}
|
|
}
|