mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
final fix for the ws issue
This commit is contained in:
parent
8bd52f349a
commit
1a182d1b58
563
package-lock.json
generated
563
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -79,10 +79,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "6.0.12",
|
||||
"electron-builder": "21.2.0",
|
||||
"electron-builder": "22.1.0",
|
||||
"electron-compile": "6.4.4",
|
||||
"electron-installer-debian": "2.0.1",
|
||||
"electron-packager": "14.0.6",
|
||||
"electron-packager": "14.1.0",
|
||||
"electron-rebuild": "1.8.6",
|
||||
"jsdoc": "3.6.3",
|
||||
"lorem-ipsum": "2.0.3",
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user