mirror of
https://github.com/frappe/books.git
synced 2024-12-22 02:49:03 +00:00
fix(ux): hide get started in demo
- auto select demo instance on creation
This commit is contained in:
parent
d485bf46d7
commit
acf95f346e
@ -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 };
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user