You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Fixed sync cancel
This commit is contained in:
@ -136,7 +136,7 @@ class Synchronizer {
|
||||
}
|
||||
|
||||
cancel() {
|
||||
if (this.cancelling_) return;
|
||||
if (this.cancelling_ || this.state() == 'idle') return;
|
||||
|
||||
this.logSyncOperation('cancelling', null, null, '');
|
||||
this.cancelling_ = true;
|
||||
|
Reference in New Issue
Block a user