Browse Source

fix: attachment in gallery

pull/6416/head
DarkPhoenix2704 1 year ago
parent
commit
1c65844036
  1. 7
      packages/nc-gui/components/cell/attachment/index.vue

7
packages/nc-gui/components/cell/attachment/index.vue

@ -218,7 +218,12 @@ const rowHeight = inject(RowHeightInj, ref())
<div
class="nc-attachment flex items-center flex-col flex-wrap justify-center"
:class="{ 'ml-2': active }"
@click.stop="selectedImage = item"
@click="
() => {
if (isGallery) return
selectedImage = item
}
"
>
<LazyCellAttachmentImage
:alt="item.title || `#${i}`"

Loading…
Cancel
Save