diff --git a/desktop/src/app/components/project/synchronization-modal.component.ts b/desktop/src/app/components/project/synchronization-modal.component.ts index d07def8529..a1e9a3d10c 100644 --- a/desktop/src/app/components/project/synchronization-modal.component.ts +++ b/desktop/src/app/components/project/synchronization-modal.component.ts @@ -221,13 +221,13 @@ export class SynchronizationModalComponent implements OnInit { } else { console.error(err); } - return; + return; } + this.activeModal.close(); + this.syncTarget = this.settings.syncTargets[this.settings.selectedProject]; await this.settingsService.setupSync(); - - this.activeModal.close(); }