Giter Site home page Giter Site logo

Comments (5)

ivan-ottinger avatar ivan-ottinger commented on June 21, 2024 2

Thanks for the ping, @liviopv.

Looks like the issue was unintentionally introduced by this PR: #88369.

The following change should fix it, but I think it would be better if @renancarvalho (πŸ‘‹πŸΌπŸ™‚ Hi!) could take a closer look - since the proposed fix may potentially cause some other regression to the changes introduced in the PR (that I may be unaware of).

diff --git a/client/my-sites/people/team-members/index.tsx b/client/my-sites/people/team-members/index.tsx
index fe5614fc31..f7384b0c68 100644
--- a/client/my-sites/people/team-members/index.tsx
+++ b/client/my-sites/people/team-members/index.tsx
@@ -55,7 +55,7 @@ function TeamMembers( props: Props ) {
 		( obj ) => obj.linked_user_ID === false
 	);
 
-	const membersTotal = nonPendingMembersSorted.length;
+	const membersTotal = data?.total;
 	const addTeamMemberLink = `/people/new/${ site?.slug }`;
 
 	function getPersonRef( user: Member ) {

from wp-calypso.

masperber avatar masperber commented on June 21, 2024

7978970-zen Initial customer report.

I've reproduced the issue on another site with over 100 users.

from wp-calypso.

github-actions avatar github-actions commented on June 21, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 7978970-zen
  • 8318410-zen

from wp-calypso.

liviopv avatar liviopv commented on June 21, 2024

πŸ“Œ REPRODUCTION RESULTS

  • Tested on Simple – Replicated

πŸ“Œ FINDINGS/SCREENSHOTS/VIDEO
I didn't have a safe user list to import to test it on my site, but I was able to reproduce the behaviour on the user site and a large P2 like dotcomhappy

CleanShot 2024-04-25 at 10 40 55@2x

πŸ“Œ ACTIONS

  • Triaged

@Automattic/apex is this something you can look into based on your work in the Subscribers page last year?

from wp-calypso.

rinazrina avatar rinazrina commented on June 21, 2024

Another user was confused with this: 8318410-zd-a8c

The Users page shows, "You have 100 team members" even though they have 600+ users.

from wp-calypso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.