Adding fix to show the initial create table modal when a new app is created, the same as prod, when testing in cypress.

This commit is contained in:
mike12345567 2022-01-20 12:29:28 +00:00
parent dcf99150d1
commit 692a92e052
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ exports.fetch = async ctx => {
accountPortalUrl: env.ACCOUNT_PORTAL_URL, accountPortalUrl: env.ACCOUNT_PORTAL_URL,
disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL, disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL,
// in test need to pretend its in production for the UI (Cypress) // in test need to pretend its in production for the UI (Cypress)
isDev: env.isDev(), isDev: env.isDev() && !env.isTest(),
} }
} }