This PR addresses a issue in the Orgusers component where the functionality of the "View More" button is impaired, and all users are displayed initially, contrary to the intended behavior. The proposed changes aim to rectify these issues by implementing logic to properly toggle the visibility of additional users when the "View More" button is clicked.
Additionally, adjustments are made to ensure that only a limited number of users are displayed initially, enhancing interface clarity and usability.
Description
This PR addresses a issue in the Orgusers component where the functionality of the "View More" button is impaired, and all users are displayed initially, contrary to the intended behavior. The proposed changes aim to rectify these issues by implementing logic to properly toggle the visibility of additional users when the "View More" button is clicked. Additionally, adjustments are made to ensure that only a limited number of users are displayed initially, enhancing interface clarity and usability.
Related Issue
fixes #1176
Motivation and Context
How Has This Been Tested?
tested locally on my machine.
Screenshots or GIF (In case of UI changes):
https://github.com/scorelab/Codelabz/assets/135845175/2bd7387e-6f25-42bd-ad7e-2d9e6f46e3de
Types of changes
Checklist: