From e7cc746ee90cd27a1a51705889f7208c4e67a1c7 Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Sun, 19 Jan 2025 18:11:25 +0300 Subject: [PATCH] Fixed bug preventing the Queue UI from being updated with file progress. --- ui/stores/SocketStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/stores/SocketStore.js b/ui/stores/SocketStore.js index c48cb9a2..f0c156cd 100644 --- a/ui/stores/SocketStore.js +++ b/ui/stores/SocketStore.js @@ -79,8 +79,8 @@ export const useSocketStore = defineStore('socket', () => { socket.value.on("updated", stream => { const data = JSON.parse(stream); - if (true === stateStore.has('history', item._id)) { - stateStore.update('history', item._id, item); + if (true === stateStore.has('history', data._id)) { + stateStore.update('history', data._id, data); return; }