Skip to content

Commit

Permalink
fix(ux): hide get started in demo
Browse files Browse the repository at this point in the history
- auto select demo instance on creation
  • Loading branch information
18alantom committed Aug 24, 2023
1 parent d485bf4 commit acf95f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dummy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export async function setupDummyInstance(
ModelNameEnum.SystemSettings,
'instanceId'
)) as string;
await fyo.singles.SystemSettings?.setAndSync('hideGetStarted', true);

fyo.store.skipTelemetryLogging = false;
return { companyName: options.companyName, instanceId };
Expand Down
1 change: 1 addition & 0 deletions src/pages/DatabaseSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ export default defineComponent({
await this.setFiles();
this.fyo.telemetry.log(Verb.Created, 'dummy-instance');
this.creatingDemo = false;
this.$emit('file-selected', filePath);
},
async setFiles() {
const dbList = await ipc.getDbList();
Expand Down

0 comments on commit acf95f3

Please sign in to comment.