mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
ignore "Sync not configured" message when toggling shared state
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user