Skip to content

Commit

Permalink
feat: enable sessions management for every build
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Feb 19, 2021
1 parent 573734e commit 4d30d01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions app/assets/javascripts/directives/views/accountMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion app/assets/templates/directives/account-menu.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d30d01

Please sign in to comment.