Skip to content

Commit

Permalink
synchronize snapshot index after configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
bartolomej committed Nov 1, 2023
1 parent 25081c0 commit 598cb7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/electron/src/services/flowser-app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -263,6 +262,8 @@ export class FlowserAppService {
this.flowEmulatorService.getDefaultConfig().adminServerPort,
});
}

await this.flowSnapshotsService.synchronizeIndex();
}

private async onWorkspaceClose() {
Expand Down

0 comments on commit 598cb7d

Please sign in to comment.