Handle zero opponent IDs and hide video button
This commit is contained in:
@@ -90,7 +90,7 @@ Widget buildEventRegistrationDestination({
|
||||
required EventRegistrationItem item,
|
||||
required String playerId,
|
||||
}) {
|
||||
if (item.opponentId.isNotEmpty) {
|
||||
if (item.opponentId.isNotEmpty && item.opponentId != '0') {
|
||||
return EventTeamMatchPage(item: item, playerId: playerId);
|
||||
}
|
||||
return WebviewPage(
|
||||
|
||||
Reference in New Issue
Block a user