ignore "Sync not configured" message when toggling shared state

This commit is contained in:
zadam
2022-01-13 20:22:50 +01:00
parent 412c745e53
commit fa2ffd7574
4 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ export default class SharedSwitchWidget extends SwitchWidget {
async switchOn() {
await branchService.cloneNoteToNote(this.noteId, 'share');
syncService.syncNow();
syncService.syncNow(true);
}
async switchOff() {
@@ -47,7 +47,7 @@ export default class SharedSwitchWidget extends SwitchWidget {
await server.remove(`branches/${shareBranch.branchId}?taskId=no-progress-reporting`);
syncService.syncNow();
syncService.syncNow(true);
}
async refreshWithNote(note) {