fix(index): use attendee_count (not total_attendee_count) in JS event rendering
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
JS reads from API JSON which returns 'attendee_count' field (already includes guests after previous fix). Using 'total_attendee_count' caused 'undefined'. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c6326d9760
commit
d237cb4bf1
@ -1505,7 +1505,7 @@
|
||||
|
||||
let timePart = ev.time ? '<span>🕕 ' + ev.time + '</span>' : '';
|
||||
let locPart = ev.location ? '<span>📍 ' + ev.location + '</span>' : '';
|
||||
let cnt = ev.total_attendee_count;
|
||||
let cnt = ev.attendee_count;
|
||||
let cntWord = cnt === 1 ? 'osoba' : (cnt >= 2 && cnt <= 4 ? 'osoby' : 'osób');
|
||||
|
||||
let actionHtml = '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user