feat: enable sessions management for every build
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user