Browse Source

fix: make cursor in public shared gallery default for card

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5767/head
Pranav C 2 years ago
parent
commit
c427332eea
  1. 1
      packages/nc-gui/components/smartsheet/Gallery.vue

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

@ -241,6 +241,7 @@ watch(view, async (nextView) => {
:data-testid="`nc-gallery-card-${record.row.id}`"
@click="expandFormClick($event, record)"
@contextmenu="showContextMenu($event, { row: rowIndex })"
:style="isPublic ? { cursor: 'default' } : { cursor: 'pointer' }"
>
<template v-if="galleryData?.fk_cover_image_col_id" #cover>
<a-carousel v-if="!reloadAttachments && attachments(record).length" autoplay class="gallery-carousel" arrows>

Loading…
Cancel
Save