Skip to content

Commit

Permalink
Merge pull request #370 from weni-ai/fix/history-download-image-button
Browse files Browse the repository at this point in the history
Fixed FullscreenPreview props at ContactInfo
  • Loading branch information
Aldemylla authored Nov 10, 2023
2 parents 0baf8f7 + 115d2da commit 70240f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/chats/ContactInfo/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@
/>
<fullscreen-preview
v-if="isFullscreen"
@download="$emit('download')"
:downloadMediaUrl="currentMedia?.url"
:downloadMediaName="currentMedia?.message"
@close="isFullscreen = false"
@next="nextMedia"
@previous="previousMedia"
Expand Down
1 change: 1 addition & 0 deletions src/components/chats/MediaMessage/Previews/Fullscreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default {
props: {
downloadMediaUrl: {
type: String,
required: true,
},
downloadMediaName: {
type: String,
Expand Down

0 comments on commit 70240f9

Please sign in to comment.