InvokeAI/invokeai/frontend/web/src
psychedelicious e675983e20
fix(ui): download image opens in new tab (#5625)
* fix(ui): download image opens in new tab

In some environments, a simple `a` element cannot trigger a download of an image. Fetching the image directly can get around this and provide more reliable download functionality.

* use hook for imageUrlToBlob so token gets sent if needed

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-02-01 20:25:01 +00:00
..
app select first image if no selectedImageName 2024-01-31 11:52:47 -05:00
common fix(ui): download image opens in new tab (#5625) 2024-02-01 20:25:01 +00:00
features fix(ui): download image opens in new tab (#5625) 2024-02-01 20:25:01 +00:00
services chore(ui): format 2024-01-28 19:57:53 +11:00
i18.d.ts fix(ui): improve IDE TS performance by not resolving JSON 2023-06-28 23:55:44 -04:00
i18n.ts feat(ui): handle proxy configs rewriting paths 2024-01-25 13:29:56 +11:00
index.ts tidy(ui): remove commented line 2024-01-22 09:37:26 +11:00
main.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
vite-env.d.ts