prevent iterating nonexistent list
This commit is contained in:
parent
d1054ed672
commit
2ae4b60ed4
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ pub fn Game() -> impl IntoView {
|
|||
|
||||
// Judging view //
|
||||
|
||||
<Show when=move || { judging() && connected() }>
|
||||
<Show when=move || { judging() && connected() && game_meta().is_some() }>
|
||||
<div class="w-full ms-16 inline-flex flex-wrap">
|
||||
<BlackCard card_data=game_meta().unwrap().black />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue