Remove flag
This commit is contained in:
parent
2547852582
commit
01f1fc656f
|
@ -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 {}
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue