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:
@@ -621,11 +621,11 @@ const closeUploadModal = () => {
|
||||
}
|
||||
|
||||
// Drag and Drop Events
|
||||
const handleDragEnter = () => {
|
||||
const _handleDragEnter = () => {
|
||||
isDragOver.value = true
|
||||
}
|
||||
|
||||
const handleDragLeave = () => {
|
||||
const _handleDragLeave = () => {
|
||||
isDragOver.value = false
|
||||
}
|
||||
|
||||
@@ -675,7 +675,7 @@ const loadExistingData = async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (_error) {
|
||||
} catch {
|
||||
// Fehler beim Laden der Datei, ignorieren
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user