Saison-Auswahl hinzugefügt
Some checks failed
Code Analysis and Production Deploy / analyze (push) Failing after 2m17s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Has been skipped

This commit is contained in:
Torsten Schulz (local)
2026-05-27 18:01:32 +02:00
parent 7e0c92368e
commit 92099685e6
2 changed files with 54 additions and 10 deletions

View File

@@ -102,7 +102,7 @@
</template>
<script setup>
import { ref, onMounted, computed } from 'vue'
import { ref, onMounted, computed, watch } from 'vue'
import { Users } from 'lucide-vue-next'
const props = defineProps({
@@ -158,6 +158,7 @@ const loadMannschaften = async () => {
const lines = csv.split('\n').filter(line => line.trim() !== '')
if (lines.length < 2) {
mannschaften.value = []
return
}
@@ -234,4 +235,8 @@ const formatDate = (dateString) => {
onMounted(() => {
loadMannschaften()
})
watch(selectedSeason, () => {
loadMannschaften()
})
</script>