chore: run linter

This commit is contained in:
Henrique Dias 2025-11-30 09:17:35 +01:00
parent 4302ece49b
commit 63582b644c
No known key found for this signature in database

View File

@ -8,12 +8,7 @@
<i class="material-icons">description</i> <i class="material-icons">description</i>
<p>{{ $t("files.lonely") }}</p> <p>{{ $t("files.lonely") }}</p>
</div> </div>
<div <div v-else class="csv-table-container" @wheel.stop @touchmove.stop>
v-else
class="csv-table-container"
@wheel.stop
@touchmove.stop
>
<table class="csv-table"> <table class="csv-table">
<thead> <thead>
<tr> <tr>
@ -66,7 +61,11 @@ const displayError = computed(() => {
return props.error; return props.error;
} }
// Check for parse errors // Check for parse errors
if (props.content && props.content.trim().length > 0 && data.value.headers.length === 0) { if (
props.content &&
props.content.trim().length > 0 &&
data.value.headers.length === 0
) {
return "Failed to parse CSV file"; return "Failed to parse CSV file";
} }
return null; return null;