mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 00:08:18 +08:00
17 lines
444 B
JavaScript
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());
|
|
}
|
|
}
|