Browse Source

fix: lock downloadFile

pull/8990/head
DarkPhoenix2704 4 months ago
parent
commit
6ca2dd5f3a
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 7
      packages/nc-gui/components/cell/attachment/Carousel.vue

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

@ -299,7 +299,12 @@ const initEmblaApi = (val: any) => {
<NcTooltip v-if="!isReadonly" color="light" placement="bottom">
<template #title> {{ $t('title.downloadFile') }} </template>
<NcButton class="!hover:bg-transparent !text-white" size="xsmall" type="text" @click="downloadFile(selectedFile)">
<NcButton
class="!hover:bg-transparent !text-white"
size="xsmall"
type="text"
@click="downloadAttachment(selectedFile)"
>
<component :is="iconMap.download" class="!hover:text-gray-400" />
</NcButton>
</NcTooltip>

Loading…
Cancel
Save