Fix endgame buttons
This commit is contained in:
parent
e2a2507281
commit
f30bdcf8b2
|
|
@ -29,7 +29,11 @@ async function selectWordlist(wordLists: string[], _numWords: number) {
|
||||||
:num-words="numWords"
|
:num-words="numWords"
|
||||||
@end-game="() => gamestate = 'end'"
|
@end-game="() => gamestate = 'end'"
|
||||||
/>
|
/>
|
||||||
<EndGame v-else-if="gamestate === 'end'" />
|
<EndGame
|
||||||
|
v-else-if="gamestate === 'end'"
|
||||||
|
@again="() => gamestate = 'play'"
|
||||||
|
@wordlist="() => gamestate = 'wordlist-selection'"
|
||||||
|
/>
|
||||||
<div v-else>Not implemented...</div>
|
<div v-else>Not implemented...</div>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user