From 4d30d019ee52aed511e0f23785ee27b27c9838ee Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Fri, 19 Feb 2021 12:19:31 +0100 Subject: [PATCH] feat: enable sessions management for every build --- app/assets/javascripts/directives/views/accountMenu.ts | 4 +--- app/assets/templates/directives/account-menu.pug | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/javascripts/directives/views/accountMenu.ts b/app/assets/javascripts/directives/views/accountMenu.ts index 82fc6cdca..6012d5fbe 100644 --- a/app/assets/javascripts/directives/views/accountMenu.ts +++ b/app/assets/javascripts/directives/views/accountMenu.ts @@ -148,9 +148,7 @@ class AccountMenuCtrl extends PureViewCtrl { async $onInit() { super.$onInit(); this.setState({ - showSessions: - this.appState.enableUnfinishedFeatures && - (await this.application.userCanManageSessions()), + showSessions: await this.application.userCanManageSessions() }); const sync = this.appState.sync; diff --git a/app/assets/templates/directives/account-menu.pug b/app/assets/templates/directives/account-menu.pug index f5dbf61e2..e56af6939 100644 --- a/app/assets/templates/directives/account-menu.pug +++ b/app/assets/templates/directives/account-menu.pug @@ -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