fix: hide sessions management

This commit is contained in:
Baptiste Grob
2020-12-28 17:14:09 +01:00
parent 31fcae4ed2
commit 1f0af1bc11

View File

@@ -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;