Bugfix bei Spieleranzeige und Vereinfachung der Keine-Player-Logik #66

Merged
flixcoo merged 1 commits from bug/60-CreateGroupView-erstellter-Spieler-erscheint-nicht-in-alle-Spieler into development 2025-11-23 21:41:08 +00:00

1 Commits

Author SHA1 Message Date
974d6e9b56 refactor empty state logic in CreateGroupView
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m22s
Pull Request Pipeline / lint (pull_request) Successful in 2m24s
The diff introduces boolean variables `doneLoading` and `snapshotDataEmpty` to simplify the conditional check for displaying the empty state message. It specifically fixes the logic to correctly show the "No players found" message when both the snapshot and the local `allPlayers` list are empty, removing the dependency on `selectedPlayers.isEmpty`.
2025-11-23 22:14:13 +01:00