Browse Source

fix: small fix

pull/6416/head
DarkPhoenix2704 1 year ago
parent
commit
3c6636f100
  1. 4
      packages/nc-gui/components/smartsheet/Gallery.vue
  2. 2
      packages/nc-gui/components/virtual-cell/Links.vue

4
packages/nc-gui/components/smartsheet/Gallery.vue

@ -75,7 +75,9 @@ const fieldsWithoutCover = computed(() =>
fields.value.filter((f) => f.id !== galleryData.value?.fk_cover_image_col_id && !isPrimary(f)), fields.value.filter((f) => f.id !== galleryData.value?.fk_cover_image_col_id && !isPrimary(f)),
) )
const displayField = computed(() => meta.value?.columns?.find((c) => c.pv) ?? meta.value?.columns[0]) const displayField = computed(() =>
meta.value?.columns?.find((c) => c.pv) ?? meta.value?.columns ? meta.value?.columns[0] : null,
)
const coverImageColumn: any = computed(() => const coverImageColumn: any = computed(() =>
meta.value?.columnsById meta.value?.columnsById

2
packages/nc-gui/components/virtual-cell/Links.vue

@ -97,7 +97,7 @@ const localCellValue = computed<any[]>(() => {
<component <component
:is="isLocked || isUnderLookup ? 'span' : 'a'" :is="isLocked || isUnderLookup ? 'span' : 'a'"
:title="textVal" :title="textVal"
class="text-center pl-3 nc-datatype-link underline-transparent" class="text-center nc-datatype-link underline-transparent"
:class="{ '!text-gray-300': !textVal }" :class="{ '!text-gray-300': !textVal }"
@click.stop.prevent="openChildList" @click.stop.prevent="openChildList"
> >

Loading…
Cancel
Save