Explorar o código

adjust length

itizawa %!s(int64=5) %!d(string=hai) anos
pai
achega
3d7f810ec1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/client/js/components/Admin/UserGroup/UserGroupPage.jsx

+ 1 - 1
src/client/js/components/Admin/UserGroup/UserGroupPage.jsx

@@ -146,7 +146,7 @@ class UserGroupPage extends React.Component {
           isAclEnabled={isAclEnabled}
           onCreate={this.addUserGroup}
         />
-        {this.state.totalUserGroups === 0
+        {this.state.userGroups.length === 0
         ? <p>No groups yet</p> : (
           <>
             <UserGroupTable