LatestAccountsPanel: fix expand count
This commit is contained in:
parent
12939e3354
commit
4ca3d68bf6
1 changed files with 3 additions and 1 deletions
|
@ -51,6 +51,8 @@ class LatestAccountsPanel extends ImmutablePureComponent {
|
|||
return null;
|
||||
}
|
||||
|
||||
const expandCount = total - accountIds.size;
|
||||
|
||||
return (
|
||||
<AccountListPanel
|
||||
icon='users'
|
||||
|
@ -58,7 +60,7 @@ class LatestAccountsPanel extends ImmutablePureComponent {
|
|||
accountIds={accountIds}
|
||||
limit={limit}
|
||||
total={total}
|
||||
expandMessage={intl.formatMessage(messages.expand, { count: total })}
|
||||
expandMessage={intl.formatMessage(messages.expand, { count: expandCount })}
|
||||
expandRoute='/admin/users'
|
||||
withDate
|
||||
withRelationship={false}
|
||||
|
|
Loading…
Reference in a new issue