From e4b368589699d194d8785bff0fff68325a5050f5 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 30 Oct 2023 10:35:45 +0000 Subject: [PATCH] fix: Enabled GeoData column --- packages/nc-gui/components/smartsheet/column/EditOrAdd.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index 9c56d8f896..796373a6cc 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -79,6 +79,8 @@ const columnToValidate = [UITypes.Email, UITypes.URL, UITypes.PhoneNumber] const onlyNameUpdateOnEditColumns = [UITypes.LinkToAnotherRecord, UITypes.Lookup, UITypes.Rollup, UITypes.Links] const geoDataToggleCondition = (t: { name: UITypes }) => { + if (!appInfo.value.ee) return true + return betaFeatureToggleState.show ? betaFeatureToggleState.show : !t.name.includes(UITypes.GeoData) }