Skip to content

Commit

Permalink
Image or gif label
Browse files Browse the repository at this point in the history
  • Loading branch information
wsieroci committed Feb 16, 2024
1 parent a139ea7 commit 08e0d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/blocks/ImageBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:disabled="isUploading"
class="mt-2 mb-4 px-4 py-2 bg-gray-500 text-white rounded hover:bg-gray-600 transition duration-300 cursor-pointer"
:class="{ 'opacity-50 cursor-not-allowed': isUploading }">
{{ isUploading ? 'Uploading...' : 'Upload Image' }}
{{ isUploading ? 'Uploading...' : 'Upload Image/GIF' }}
</button>
<div>
<img v-if="props.block.details.value !== ''" :src="props.block.details.value" class="max-w-full h-auto" :style="{ width: props.block.size + '%' }">
Expand Down
2 changes: 1 addition & 1 deletion src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export const BlockComponents = {
isMenuVisible: true,
options: {
icon: 'bi-image',
label: 'Image',
label: 'Image/GIF',
isInput: false,
isNextButton: false,
isVirtualBlock: false,
Expand Down

0 comments on commit 08e0d13

Please sign in to comment.