Remove flag

This commit is contained in:
Adria Navarro 2025-02-04 10:15:19 +01:00
parent 2547852582
commit 01f1fc656f
2 changed files with 2 additions and 7 deletions

View File

@ -13,7 +13,7 @@ import {
import { queries } from "./queries"
import { views } from "./views"
import { findAllComponents } from "@/helpers/components"
import { bindings, featureFlag } from "@/helpers"
import { bindings } from "@/helpers"
import { getBindableProperties } from "@/dataBinding"
import { componentStore } from "./components"
import { getSettingsDefinition } from "@budibase/frontend-core"
@ -56,10 +56,7 @@ export const screenComponentErrors = derived(
$queries,
$componentStore,
]): Record<string, UIComponentError[]> => {
if (
!featureFlag.isEnabled("CHECK_COMPONENT_SETTINGS_ERRORS") ||
!$selectedScreen
) {
if (!$selectedScreen) {
return {}
}

View File

@ -1,6 +1,5 @@
export enum FeatureFlag {
USE_ZOD_VALIDATOR = "USE_ZOD_VALIDATOR",
CHECK_COMPONENT_SETTINGS_ERRORS = "CHECK_COMPONENT_SETTINGS_ERRORS",
// Account-portal
DIRECT_LOGIN_TO_ACCOUNT_PORTAL = "DIRECT_LOGIN_TO_ACCOUNT_PORTAL",
@ -8,7 +7,6 @@ export enum FeatureFlag {
export const FeatureFlagDefaults = {
[FeatureFlag.USE_ZOD_VALIDATOR]: false,
[FeatureFlag.CHECK_COMPONENT_SETTINGS_ERRORS]: false,
// Account-portal
[FeatureFlag.DIRECT_LOGIN_TO_ACCOUNT_PORTAL]: false,