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

17 lines
444 B
JavaScript

import Remote from 'Remote/Admin/Fetch';
import { AbstractViewRight } from 'Knoin/AbstractViews';
import { leftPanelDisabled, toggleLeftPanel } from 'Common/Globals';
export class PaneSettingsAdminView extends AbstractViewRight {
constructor() {
super('AdminPane');
this.leftPanelDisabled = leftPanelDisabled;
this.toggleLeftPanel = toggleLeftPanel;
}
logoutClick() {
Remote.request('AdminLogout', () => rl.logoutReload());
}
}