feat: enable sessions management for every build
This commit is contained in:
@@ -148,9 +148,7 @@ class AccountMenuCtrl extends PureViewCtrl<unknown, AccountMenuState> {
|
|||||||
async $onInit() {
|
async $onInit() {
|
||||||
super.$onInit();
|
super.$onInit();
|
||||||
this.setState({
|
this.setState({
|
||||||
showSessions:
|
showSessions: await this.application.userCanManageSessions()
|
||||||
this.appState.enableUnfinishedFeatures &&
|
|
||||||
(await this.application.userCanManageSessions()),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const sync = this.appState.sync;
|
const sync = this.appState.sync;
|
||||||
|
|||||||
@@ -156,7 +156,6 @@
|
|||||||
) Change Password
|
) Change Password
|
||||||
a.sk-a.info.sk-panel-row.condensed(
|
a.sk-a.info.sk-panel-row.condensed(
|
||||||
ng-click="self.openSessionsModal()"
|
ng-click="self.openSessionsModal()"
|
||||||
ng-if="self.state.showSessions"
|
|
||||||
) Manage Sessions
|
) Manage Sessions
|
||||||
.sk-panel-section
|
.sk-panel-section
|
||||||
.sk-panel-section-title Encryption
|
.sk-panel-section-title Encryption
|
||||||
|
|||||||
Reference in New Issue
Block a user