snappymail/dev/View/Admin/Settings/Pane.js

17 lines
379 B
JavaScript
Raw Normal View History

import Remote from 'Remote/Admin/Fetch';
2016-06-30 08:02:45 +08:00
import { AbstractViewRight } from 'Knoin/AbstractViews';
import { toggleLeftPanel } from 'Common/Globals';
2021-02-17 16:33:41 +08:00
export class PaneSettingsAdminView extends AbstractViewRight {
constructor() {
super('AdminPane');
this.toggleLeftPanel = toggleLeftPanel;
}
logoutClick() {
2021-12-03 07:11:19 +08:00
Remote.request('AdminLogout', () => rl.logoutReload());
}
}