From 4343852b8302d5a82be3303f7e5168eae3bb14c2 Mon Sep 17 00:00:00 2001 From: Daniel Abrao Date: Thu, 11 Apr 2024 23:56:32 -0300 Subject: [PATCH] Update HTML page title and favicon upon queue item event --- .../listeners/socketio/socketQueueItemStatusChanged.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketQueueItemStatusChanged.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketQueueItemStatusChanged.ts index 9b1ce7bbcc..d2c61cbff4 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketQueueItemStatusChanged.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketQueueItemStatusChanged.ts @@ -66,6 +66,9 @@ export const addSocketQueueItemStatusChangedEventListener = (startAppListening: dispatch( queueApi.util.invalidateTags(['CurrentSessionQueueItem', 'NextSessionQueueItem', 'InvocationCacheStatus']) ); + + updatePageTitle(queue_item.status); + updatePageFavicon(queue_item.status); }, }); };