fix: hide sessions management
This commit is contained in:
@@ -135,7 +135,7 @@ class AccountMenuCtrl extends PureViewCtrl<{}, AccountMenuState> {
|
|||||||
async $onInit() {
|
async $onInit() {
|
||||||
super.$onInit();
|
super.$onInit();
|
||||||
this.setState({
|
this.setState({
|
||||||
showSessions: await this.application.userCanManageSessions()
|
showSessions: this.appState.enableUnfinishedFeatures && await this.application.userCanManageSessions()
|
||||||
});
|
});
|
||||||
|
|
||||||
const sync = this.appState.sync;
|
const sync = this.appState.sync;
|
||||||
|
|||||||
Reference in New Issue
Block a user