Enhance security and error handling in various components by refining error catch blocks to ignore specific errors, improving code clarity and consistency across the application.
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { Calendar, Users, BarChart } from 'lucide-vue-next'
|
||||
import { Users } from 'lucide-vue-next'
|
||||
|
||||
const mannschaften = ref([])
|
||||
|
||||
@@ -124,7 +124,7 @@ const loadMannschaften = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
mannschaften.value = lines.slice(1).map((line, index) => {
|
||||
mannschaften.value = lines.slice(1).map((line, _index) => {
|
||||
// Besserer CSV-Parser: Respektiert Anführungszeichen
|
||||
const values = []
|
||||
let current = ''
|
||||
|
||||
Reference in New Issue
Block a user