diff --git a/packages/nc-gui/components/smartsheet/header/Cell.vue b/packages/nc-gui/components/smartsheet/header/Cell.vue
index 6dc9a9f6eb..aac782f56c 100644
--- a/packages/nc-gui/components/smartsheet/header/Cell.vue
+++ b/packages/nc-gui/components/smartsheet/header/Cell.vue
@@ -90,20 +90,22 @@ const onClick = (e: Event) => {
'self-start': isForm || isSurveyForm,
}"
/>
-
-
+
+ {{ column.title }}
+
+
{{ column.title }}
-
-
+
+
*
diff --git a/packages/nc-gui/components/smartsheet/header/VirtualCell.vue b/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
index 3722aac3c5..1dbe0a3752 100644
--- a/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
+++ b/packages/nc-gui/components/smartsheet/header/VirtualCell.vue
@@ -92,6 +92,7 @@ const tooltipMsg = computed(() => {
if (!column.value) {
return ''
}
+
if (isHm(column.value)) {
return `'${tableTile.value}' ${t('labels.hasMany')} '${relatedTableTitle.value}'`
} else if (isMm(column.value)) {
@@ -110,7 +111,7 @@ const tooltipMsg = computed(() => {
} else if (isRollup(column.value)) {
return `'${childColumn.value.title}' of '${relatedTableTitle.value}' (${childColumn.value.uidt})`
}
- return ''
+ return column?.value?.title || ''
})
const columnOrder = ref
| null>(null)
@@ -153,14 +154,14 @@ const openDropDown = (e: Event) => {
>
-
+
{{ tooltipMsg }}
-
+
{{ column.title }}
-
+
*
@@ -205,4 +206,4 @@ const openDropDown = (e: Event) => {
max-width: calc(100% - 40px);
word-break: break-all;
}
-
\ No newline at end of file
+