Fix: checkbox for selecting all items does not work if there is 1 item #16992
Description
Resolves #16979
Fix: when totalCount and items on datagrid lenght equals set all selected true
Checklist
- I fully tested it as developer / designer and created unit / integration tests
- I've assigned reviewer, related labels and set a milestone for this PR
How to test it?
- switch branch and pull
- run suite app in repo
- create project
- add entities with relation (includes master-child)
- add items for per case (1 item, multiple items etc.)