diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index cf7404f03e..35b032b485 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -57,7 +57,7 @@ const columnToValidate = [UITypes.Email, UITypes.URL, UITypes.PhoneNumber] const onlyNameUpdateOnEditColumns = [UITypes.LinkToAnotherRecord, UITypes.Lookup, UITypes.Rollup] -const geoDataToggleCondition = (t) => { +const geoDataToggleCondition = (t: { name: UITypes }) => { return geodataToggleState.show ? geodataToggleState.show : !t.name.includes(UITypes.GeoData) }