Fixed bug preventing the Queue UI from being updated with file progress.

This commit is contained in:
ArabCoders 2025-01-19 18:11:25 +03:00
parent 0d9f0ded88
commit e7cc746ee9

View file

@ -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;
}