Skip to content

Commit

Permalink
Merge pull request #99 from egbertbouman/fix_saveas
Browse files Browse the repository at this point in the history
Fix not being able to download after metainfo lookup fails
  • Loading branch information
egbertbouman authored Jul 30, 2024
2 parents 97d8a7e + 05ebf5c commit c2ef78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tribler/ui/src/dialogs/SaveAs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default function SaveAs(props: SaveAsProps & JSX.IntrinsicAttributes & Di
variant="outline"
type="submit"
onClick={() => OnDownloadClicked()}
disabled={!!error || exists || (files.length !== 0 && selectedFiles.length === 0)}>
disabled={exists || (files.length !== 0 && selectedFiles.length === 0)}>
{t('Download')}
</Button>
<DialogClose asChild>
Expand Down

0 comments on commit c2ef78f

Please sign in to comment.