Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
#3 numberOfSeats calculated correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
steffchep committed Feb 16, 2018
1 parent 8921ea4 commit 5b6c611
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h2 class="dark">
</div>
<div class="talk">
<div class="label">Seats:</div>
<div>{{talk.occupiedSeats}} / {{ talk.availableSeats }} occupied</div>
<div>{{talk.occupiedSeats || 0}} / {{ talk.availableSeats }} occupied</div>
</div>
</td>
<td>
Expand Down
1 change: 0 additions & 1 deletion src/main/webapp/js/utils/dataHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ define(['moment'], function(moment) {
entry.roomName = getRoomName(entry.locationId, metaData.locations);
entry.formattedStart = moment(entry.start).format('MMM DD, HH:mm');
entry.availableSeats = getSeats(entry.locationId, metaData.locations);
entry.occupiedSeats = 0;
}

function addDeltaToConferences(events, delta) {
Expand Down

0 comments on commit 5b6c611

Please sign in to comment.