feat: enable sessions management for every build

This commit is contained in:
Baptiste Grob
2021-02-19 12:19:31 +01:00
parent 573734e6af
commit 4d30d019ee
2 changed files with 1 additions and 4 deletions

View File

@@ -148,9 +148,7 @@ class AccountMenuCtrl extends PureViewCtrl<unknown, AccountMenuState> {
async $onInit() {
super.$onInit();
this.setState({
showSessions:
this.appState.enableUnfinishedFeatures &&
(await this.application.userCanManageSessions()),
showSessions: await this.application.userCanManageSessions()
});
const sync = this.appState.sync;

View File

@@ -156,7 +156,6 @@
) Change Password
a.sk-a.info.sk-panel-row.condensed(
ng-click="self.openSessionsModal()"
ng-if="self.state.showSessions"
) Manage Sessions
.sk-panel-section
.sk-panel-section-title Encryption