mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix not-updating lastSyncId in ws handler
This commit is contained in:
parent
904eb25f64
commit
d50e072ea4
@ -111,7 +111,7 @@ function checkSyncIdListeners() {
|
||||
|
||||
async function consumeSyncData() {
|
||||
if (syncDataQueue.length >= 0) {
|
||||
const allSyncData = syncDataQueue;
|
||||
const allSyncData = syncDataQueue.slice();
|
||||
syncDataQueue = [];
|
||||
|
||||
const outsideSyncData = allSyncData.filter(sync => sync.sourceId !== glob.sourceId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user