Fix message 'You are the first in the line'

This commit is contained in:
Gustavo Trott 2023-12-13 17:09:20 -03:00
parent c7c5ab0449
commit 7d1f2a9f18

View File

@ -152,7 +152,7 @@
let positionInWaitingQueue = '';
function updatePositionInWaitingQueue(newPositionInWaitingQueue) {
if (positionInWaitingQueue !== newPositionInWaitingQueue) {
positionInWaitingQueue = newPositionInWaitingQueue;
positionInWaitingQueue = newPositionInWaitingQueue.toString();
if (positionInWaitingQueue === '1') {
updatePositionOnPage(_('app.guest.firstPositionInWaitingQueue'), '');
} else {