Updates the perm counter on perm area update.
This commit is contained in:
parent
555fa8fb7c
commit
5da4c7050c
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue