From 5da4c7050c376dad177088c80c83e394ed9b3bdf Mon Sep 17 00:00:00 2001 From: Daru13 Date: Thu, 22 Nov 2018 22:34:45 +0100 Subject: [PATCH] Updates the perm counter on perm area update. --- event/static/js/calendar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/event/static/js/calendar.js b/event/static/js/calendar.js index 58f2572..a94db4d 100644 --- a/event/static/js/calendar.js +++ b/event/static/js/calendar.js @@ -770,7 +770,9 @@ class EventDetails { } updatePermManagementCounter () { - let permCounterNode = this.node.find(".cal-detail-perm-count"); + let permCounterNode = this.node + .find(".cal-detail-perm-count") + .html(`👤 ${this.event.nbPerms}/${this.event.maxNbPerms}`); if (this.event.minNbPerms > this.event.nbPerms) { permCounterNode.addClass("cal-perms-missing");