feat/FRO-33: Added a nice Select Trumpsuit Component #24

Merged
Janis merged 5 commits from feat/FRO-33 into main 2025-12-18 09:44:47 +01:00
4 changed files with 185 additions and 11 deletions
Showing only changes of commit c84d4ee376 - Show all commits

View File

@@ -5,7 +5,7 @@ import {useIngame} from "@/composables/useIngame.ts";
import type {GameInfo} from "@/types/GameTypes.ts";
const ig = useIngame()
const currentPlayer = computed(() => (<GameInfo>ig.data).playerQueue.currentPlayer)
const currentPlayer = computed(() => (<GameInfo>ig.data).playerQueue?.currentPlayer)
const queue = computed(() => { return (<GameInfo>ig.data).playerQueue.queue ?? []})
</script>