diff --git a/packages/backend-core/src/environment.ts b/packages/backend-core/src/environment.ts
index 1e7da2f9a2..c84a162ab6 100644
--- a/packages/backend-core/src/environment.ts
+++ b/packages/backend-core/src/environment.ts
@@ -93,15 +93,21 @@ function isApps() {
return environment.SERVICE_TYPE === ServiceType.APPS
}
+function isQA() {
+ return environment.BUDIBASE_ENVIRONMENT === "QA"
+}
+
const environment = {
isTest,
isJest,
isDev,
isWorker,
isApps,
+ isQA,
isProd: () => {
return !isDev()
},
+ BUDIBASE_ENVIRONMENT: process.env.BUDIBASE_ENVIRONMENT,
JS_BCRYPT: process.env.JS_BCRYPT,
JWT_SECRET: process.env.JWT_SECRET,
JWT_SECRET_FALLBACK: process.env.JWT_SECRET_FALLBACK,
diff --git a/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceCategory.svelte b/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceCategory.svelte
index 71de1716f2..fa6f477ed9 100644
--- a/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceCategory.svelte
+++ b/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceCategory.svelte
@@ -29,7 +29,7 @@
on:click={() => onSelect(data)}
>