mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
final fix for the ws issue
This commit is contained in:
@@ -110,8 +110,8 @@ function checkSyncIdListeners() {
|
||||
}
|
||||
|
||||
async function consumeSyncData() {
|
||||
if (syncDataQueue.length >= 0) {
|
||||
const allSyncData = syncDataQueue.slice();
|
||||
if (syncDataQueue.length > 0) {
|
||||
const allSyncData = syncDataQueue;
|
||||
syncDataQueue = [];
|
||||
|
||||
const outsideSyncData = allSyncData.filter(sync => sync.sourceId !== glob.sourceId);
|
||||
|
||||
Reference in New Issue
Block a user