Browse Source

chore(nc-gui): primary value -> display value

pull/5117/head
Wing-Kam Wong 2 years ago
parent
commit
7b22e941d6
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue
  2. 2
      packages/nc-gui/components/template/Editor.vue

2
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -228,7 +228,7 @@ useMenuCloseOnEsc(open)
>
<a-tooltip placement="bottom">
<template #title>
<span class="text-sm">Primary Value</span>
<span class="text-sm">Display Value</span>
</template>
<MdiTableKey class="text-xs" />

2
packages/nc-gui/components/template/Editor.vue

@ -516,7 +516,7 @@ async function importTemplate() {
tab.title = createdTable.title as string
}
// set primary value
// set display value
if (createdTable?.columns?.[0]?.id) {
await $api.dbTableColumn.primaryColumnSet(createdTable.columns[0].id as string)
}

Loading…
Cancel
Save