Skip to content

Commit

Permalink
Merge pull request #43 from for-ashraf/4-3pt-add-reservations-counter…
Browse files Browse the repository at this point in the history
…-student-c

Add count reservations functionality
  • Loading branch information
AbrahaKahsay committed Jul 28, 2022
2 parents a955c45 + 30ad46c commit 3bd4703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/controllers/reservationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class ReservationPage {
}
}

// countes the number of reservations
calculateCount() {
return this.reservationArray.length;
}
Expand Down

0 comments on commit 3bd4703

Please sign in to comment.