Skip to content

Commit

Permalink
Completing
Browse files Browse the repository at this point in the history
  • Loading branch information
Amirreza81 committed Feb 7, 2022
1 parent fdc5db1 commit eae06d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/view/AdminMenuView.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ public void goToAdminPage2(ActionEvent actionEvent) throws IOException {

public void refresh(ActionEvent actionEvent) {
numberOfUsers.setText(Integer.toString(User.getUsers().size()));
numberOfTeams.setText(Integer.toString(Team.getAllTeams().size()));
numberOfTeams.setText(Integer.toString(Controller.controller.getAllTeams().size()));
int doneTask = 0;
int failedTask = 0;
for (Team team : Team.getAllTeams()) {
for (Team team : Controller.controller.getAllTeams()) {
for (Board board : team.getBoards()) {
doneTask += board.getDone().size();
failedTask += board.getFailed().size();
Expand Down

0 comments on commit eae06d2

Please sign in to comment.