diff --git a/World Perspectives/public/components/admin/session-display.html b/World Perspectives/public/components/admin/session-display.html
index 78dbb76..4729305 100644
--- a/World Perspectives/public/components/admin/session-display.html
+++ b/World Perspectives/public/components/admin/session-display.html
@@ -110,42 +110,7 @@
-
{{session.title.formatted}}
@@ -163,8 +128,8 @@
[[session.moderator.name]]
- Capacity:
- [[session.capacity.filled]] of [[session.capacity.total]]
+ Total attendees:
+ [[_computeAttendees(attendees)]]
@@ -236,6 +201,9 @@
return "Presenters";
}
},
+ _computeAttendees: function (attendees) {
+ return attendees.faculty.length + attendees.students.length;
+ },
handleError: function (e) {
var errorMessage = e.target.lastError.error.message || "An error occurred!";
console.error(errorMessage);