Skip to content

Commit

Permalink
1,320th Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Chen committed Jan 19, 2024
1 parent 3d4948c commit 868dae0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/src/components/dropzone/Dropzone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ function onDragLeave() {
@change="onChange"
@click="($refs.dropzone as HTMLInputElement).value = ''"
/>
<div class="i-mdi-tray-arrow-up w-24 h-24"></div>
<div class="text-xl">{{ title || 'Click or drag to upload image' }}</div>
<slot name="dropzone">
<div class="i-mdi-tray-arrow-up w-24 h-24"></div>
<div class="text-xl">{{ title || 'Click or drag to upload image' }}</div>
</slot>
</label>

<div v-if="invalid" class="text-red-500 text-sm mt-1">
Expand Down

0 comments on commit 868dae0

Please sign in to comment.