mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-03 08:25:00 -05:00
Instead of providing a duration to the upload action, we close the toast imperatively in the `imageUploaded` listener using a timeout. 3s after the last upload toast, we close it. This handles the case when we are uploading multiple images and don't want the toast to close til it's all finished.