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"> <a-tooltip placement="bottom">
<template #title> <template #title>
<span class="text-sm">Primary Value</span> <span class="text-sm">Display Value</span>
</template> </template>
<MdiTableKey class="text-xs" /> <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 tab.title = createdTable.title as string
} }
// set primary value // set display value
if (createdTable?.columns?.[0]?.id) { if (createdTable?.columns?.[0]?.id) {
await $api.dbTableColumn.primaryColumnSet(createdTable.columns[0].id as string) await $api.dbTableColumn.primaryColumnSet(createdTable.columns[0].id as string)
} }

Loading…
Cancel
Save