Browse Source

fix(nc-gui): geoDataToggleCondition param type

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
507f24fec0
  1. 2
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

2
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)
}

Loading…
Cancel
Save