diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index 7c8ceff3..9fcf299a 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -205,7 +205,7 @@ class UserEditPage extends React.Component { } isSelfOrAdmin() { - return this.isSelf() || Setting.isAdminUser(this.props.account); + return this.isSelf() || Setting.isLocalAdminUser(this.props.account); } getCountryCode() {