diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue index c22057348a..c0852fda05 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue @@ -18,7 +18,7 @@ const route = useRoute() const { meta, isSqlView } = useSmartsheetStoreOrThrow() -const { commentsDrawer, primaryValue, primaryKey, save: _save, loadRow } = useExpandedFormStoreOrThrow() +const { commentsDrawer, displayValue, primaryKey, save: _save, loadRow } = useExpandedFormStoreOrThrow() const { isNew, syncLTARRefs, state } = useSmartsheetRowStoreOrThrow() @@ -99,7 +99,7 @@ const onConfirmDeleteRowClick = async () => { {{ meta.title }} - +
diff --git a/packages/nc-gui/components/smartsheet/header/Menu.vue b/packages/nc-gui/components/smartsheet/header/Menu.vue index 3a98197be4..bb6fb31c31 100644 --- a/packages/nc-gui/components/smartsheet/header/Menu.vue +++ b/packages/nc-gui/components/smartsheet/header/Menu.vue @@ -68,7 +68,7 @@ const deleteColumn = () => }, }) -const setAsPrimaryValue = async () => { +const setAsDisplayValue = async () => { try { await $api.dbTableColumn.primaryColumnSet(column?.value?.id as string) @@ -280,7 +280,7 @@ const hideField = async () => { - +
diff --git a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue index 8567956e6f..b045826452 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue @@ -68,7 +68,7 @@ watch( const numberOfHiddenFields = computed(() => filteredFieldList.value?.filter((field) => !field.show)?.length) -const gridPrimaryValueField = computed(() => { +const gridDisplayValueField = computed(() => { if (activeView.value?.type !== ViewTypes.GRID) return null const pvCol = Object.values(metaColumnById.value)?.find((col) => col?.pv) return filteredFieldList.value?.find((field) => field.fk_column_id === pvCol?.id) @@ -194,7 +194,7 @@ useMenuCloseOnEsc(open)