From b69f2f9754e9252ac1d53d60746e60650a79bfeb Mon Sep 17 00:00:00 2001 From: Yongtae Park Date: Wed, 8 Jan 2025 16:21:00 +0900 Subject: [PATCH] chore(dashboard-evaluate): temporarily remove duplicated eval name validation Signed-off-by: samuel.park --- .../_components/WidgetFormDataTableCardTransformEvaluate.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformEvaluate.vue b/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformEvaluate.vue index efeab7fb8c..8720d9bfc9 100644 --- a/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformEvaluate.vue +++ b/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformEvaluate.vue @@ -67,8 +67,8 @@ const state = reactive({ globalVariablePopperVisible: false, invalid: computed(() => { if (!state.proxyOperatorOptions.data_table_id) return true; - const fieldNames = expressionsInfo.value.map((d) => d.name); - if (fieldNames.length !== new Set(fieldNames).size) return true; + // const fieldNames = expressionsInfo.value.map((d) => d.name); + // if (fieldNames.length !== new Set(fieldNames).size) return true; if (!expressionsInfo.value.every((d) => !!d.name && !!d.expression)) return true; if (expressionsInfo.value.some((d) => !isFieldNameValid(d.name, storeState.currentDataTable))) return true; return false;