fix: note comparison in template

This commit is contained in:
Mo Bitar
2020-04-21 13:55:16 -05:00
parent 35434f8af3
commit 9023f76417
13 changed files with 38 additions and 42 deletions

View File

@@ -319,9 +319,9 @@ class AccountMenuCtrl extends PureViewCtrl {
}
async openPrivilegesModal() {
this.close();
const run = () => {
this.application!.presentPrivilegesManagementModal();
this.close();
};
const needsPrivilege = await this.application!.privilegesService!.actionRequiresPrivilege(
ProtectedAction.ManagePrivileges