Fix bet button link to point to /bets/new instead of /cashier/new-bet

parent 24f49510
......@@ -774,7 +774,7 @@ function updateMatchesTable(data, container) {
statusBadge = '<span class="badge bg-primary"><i class="fas fa-calendar-check me-1"></i>Sched</span>';
break;
case 'bet':
statusBadge = `<a href="${pageUrl('/cashier/new-bet?match_id=' + match.id)}" class="badge bg-success text-decoration-none" title="Click to place bet"><i class="fas fa-dollar-sign me-1"></i>Bet</a>`;
statusBadge = `<a href="${pageUrl('/bets/new')}" class="badge bg-success text-decoration-none" title="Click to place bet"><i class="fas fa-dollar-sign me-1"></i>Bet</a>`;
break;
case 'ingame':
statusBadge = '<span class="badge bg-info"><i class="fas fa-play me-1"></i>Live</span>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment