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