diff --git a/packages/core.gbapp/services/GBCoreService.ts b/packages/core.gbapp/services/GBCoreService.ts index 01d2ca801..8866e940e 100644 --- a/packages/core.gbapp/services/GBCoreService.ts +++ b/packages/core.gbapp/services/GBCoreService.ts @@ -590,7 +590,7 @@ STORAGE_SYNC=true return new Number(value ? defaultValue : defaultValue ? defaultValue : 0); } - if (instance['dataValues']) { + if (instance['dataValues'] && !value) { value = instance['dataValues'][name]; if (value === null) { const minBoot = GBServer.globals.minBoot as any; diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index ec4e14aa4..5130673e4 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -190,6 +190,7 @@ export class GBMinService { id, `Agora falando com ${activeMin.instance.title}...` ); + let startDialog = activeMin.core.getParam(activeMin.instance, 'Start Dialog', null); GBLog.info(`Auto start dialog is now being called: ${startDialog}...`); if (startDialog) { @@ -199,7 +200,7 @@ export class GBMinService { else { res.end(); } - } else { + } else { activeMin = GBServer.globals.minInstances.filter(p => p.instance.instanceId === user.instanceId)[0]; if (activeMin === undefined) { activeMin = GBServer.globals.minBoot;