Skip to content

Commit 2a12b68

Browse files
committed
fix: fixed non-multiple file input showing file count
1 parent dddff45 commit 2a12b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LibFileInput/LibFileInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
(multiple ? 's' :'')
4040
}}
4141
</slot>
42-
<span v-if="compact">{{ ` (${files.length})` }}</span>
42+
<span v-if="compact && multiple">{{ ` (${files.length})` }}</span>
4343
</label>
4444
<label v-if="!compact" class="flex flex-col items-center text-sm">
4545
<slot name="formats">Accepted Formats: </slot>

0 commit comments

Comments
 (0)