Fix event stats participants / going incoherent

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-06-18 16:24:00 +02:00
parent fe14d2ed25
commit e030eab93d
3 changed files with 27 additions and 18 deletions

View File

@@ -63,11 +63,11 @@
$tc(
"{available}/{capacity} available places",
participation.event.options.maximumAttendeeCapacity -
(participation.event.participantStats.going - 1),
participation.event.participantStats.participant,
{
available:
participation.event.options.maximumAttendeeCapacity -
(participation.event.participantStats.going - 1),
participation.event.participantStats.participant,
capacity: participation.event.options.maximumAttendeeCapacity,
}
)