diff --git a/apps/electron/src/services/flowser-app.service.ts b/apps/electron/src/services/flowser-app.service.ts index 90c9d20d..a3fc45a5 100644 --- a/apps/electron/src/services/flowser-app.service.ts +++ b/apps/electron/src/services/flowser-app.service.ts @@ -248,7 +248,6 @@ export class FlowserAppService { this.flowSnapshotsStorageService.setFileName( `flowser-snapshots-${workspaceId}.json` ); - await this.flowSnapshotsService.synchronizeIndex(); this.walletStorageService.setFileName(`flowser-wallet-${workspaceId}.json`); await this.walletService.synchronizeIndex(); @@ -263,6 +262,8 @@ export class FlowserAppService { this.flowEmulatorService.getDefaultConfig().adminServerPort, }); } + + await this.flowSnapshotsService.synchronizeIndex(); } private async onWorkspaceClose() {