2020-09-15 01:40:56 +08:00
|
|
|
import Remote from 'Remote/Admin/Fetch';
|
2016-06-30 08:02:45 +08:00
|
|
|
|
2021-01-24 17:25:23 +08:00
|
|
|
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
|
|
|
|
2022-03-01 00:26:23 +08:00
|
|
|
import { leftPanelDisabled } from 'Common/Globals';
|
2021-02-17 16:33:41 +08:00
|
|
|
|
2022-03-01 00:26:23 +08:00
|
|
|
export class PaneSettingsAdminView extends AbstractViewRight {
|
2016-08-17 06:01:20 +08:00
|
|
|
constructor() {
|
2021-09-23 15:41:02 +08:00
|
|
|
super('AdminPane');
|
2021-02-17 16:33:41 +08:00
|
|
|
this.leftPanelDisabled = leftPanelDisabled;
|
2016-08-17 06:01:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
logoutClick() {
|
2021-12-03 07:11:19 +08:00
|
|
|
Remote.request('AdminLogout', () => rl.logoutReload());
|
2016-08-17 06:01:20 +08:00
|
|
|
}
|
|
|
|
}
|