diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index b9fd4b1e62..368f12528f 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -107,7 +107,9 @@ const hasEditPermission = computed(() => isUIAllowed('dataEdit')) const fields = inject(FieldsInj, ref([])) -const fieldsWithoutCover = computed(() => fields.value.filter((f) => f.id !== kanbanMetaData.value?.fk_cover_image_col_id)) +const fieldsWithoutDisplay = computed(() => fields.value.filter((f) => !isPrimary(f))) + +const displayField = computed(() => meta.value?.columns?.find((c) => c.pv && fields.value.includes(c)) ?? null) const coverImageColumn: any = computed(() => meta.value?.columnsById @@ -520,22 +522,21 @@ watch(