Skip to content

Commit

Permalink
fix my brain
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamlandOwO committed Jan 26, 2024
1 parent 03c49e9 commit df33e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/ModalPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const props = defineProps({
const loadPreview = (type) => (props.selection.item.mime_type ?? '').startsWith(type)
const download = () => {
const url = requester.getPreviewUrl(props.selection.adapter, props.selection.item.path)
const url = requester.getDownloadUrl(props.selection.adapter, props.selection.item.path)
emitter.emit('vf-download', url)
}
Expand Down

0 comments on commit df33e36

Please sign in to comment.