mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): ensure download image opens in new tab
This commit is contained in:
parent
6e60f7517b
commit
877959b413
@ -461,7 +461,11 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => {
|
||||
{t('parameters.copyImageToLink')}
|
||||
</IAIButton>
|
||||
|
||||
<Link download={true} href={getUrl(image?.image_url ?? '')}>
|
||||
<Link
|
||||
download={true}
|
||||
href={getUrl(image?.image_url ?? '')}
|
||||
target="_blank"
|
||||
>
|
||||
<IAIButton leftIcon={<FaDownload />} size="sm" w="100%">
|
||||
{t('parameters.downloadImage')}
|
||||
</IAIButton>
|
||||
|
Loading…
Reference in New Issue
Block a user