Saison-Auswahl hinzugefügt
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user