Closed qmatteoq closed 2 years ago
I tested the code and when you have a big number of Teams (more than 1000) you are always stuck with the first number of Teams controlled by the variable. So, for customers with large amounts of groups the approach is a problem. They will never be able to select some teams.
This PR adds a new feature to Company Communicator. When you compose a new message, now you have the ability to quickly select or unselect all the teams that will receive it. The maximum number of teams that can be selected is controlled by a new setting in the appsettings.json of the application, called MaxNumberOfTeams. If the setting doesn't exist, the default value is 20, which is the same limit currently hardcoded in code.