mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-17 16:45:21 +00:00
Not need to render at Full sync
This commit is contained in:
4
node_modules/sync.js
generated
vendored
4
node_modules/sync.js
generated
vendored
@@ -654,6 +654,9 @@ var Sync = {
|
||||
// mainType == notebook, note, tag
|
||||
// type = changeAdds, changeConflicts, adds, deletes, updates, conflicts, errors,
|
||||
fixSynced: function (mainType, type, data) {
|
||||
if (this.fullSyncStart) {
|
||||
return;
|
||||
}
|
||||
var o = {};
|
||||
if (!Common.isArray(data)) {
|
||||
data = [data];
|
||||
@@ -738,6 +741,7 @@ var Sync = {
|
||||
setSyncFinished: function(hasError) {
|
||||
var me = this;
|
||||
me.incrSyncStart = false;
|
||||
me.fullSyncStart = false;
|
||||
// Web.syncProgress(0);
|
||||
Web.syncFinished(hasError);
|
||||
},
|
||||
|
Reference in New Issue
Block a user