Browse Source

fix:missing col options

pull/9906/head
DarkPhoenix2704 22 hours ago
parent
commit
7ea61dbf5b
  1. 6
      packages/nc-gui/components/cell/SingleSelect.vue

6
packages/nc-gui/components/cell/SingleSelect.vue

@ -204,12 +204,14 @@ async function addIfMissingAndSave() {
}
}
await $api.dbTableColumn.update(
const data = await $api.dbTableColumn.update(
(column.value as { fk_column_id?: string })?.fk_column_id || (column.value?.id as string),
updatedColMeta,
)
column.value.colOptions = data.columns.find((c) => c.id === column.value.id).colOptions
vModel.value = newOptValue
await getMeta(column.value.fk_model_id!, true)
} catch (e: any) {
console.log(e)
message.error(await extractSdkResponseErrorMsg(e))

Loading…
Cancel
Save