Browse Source

tests: update attachments tests

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

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

@ -256,7 +256,12 @@ const handleFileDelete = (i: number) => {
<NcTooltip v-if="!isReadonly" placement="bottom"> <NcTooltip v-if="!isReadonly" placement="bottom">
<template #title> {{ $t('title.removeFile') }} </template> <template #title> {{ $t('title.removeFile') }} </template>
<NcButton class="!text-red-500" size="xsmall" type="text" @click.stop="onRemoveFileClick(item.title, i)"> <NcButton
class="!text-red-500 nc-attachment-remove"
size="xsmall"
type="text"
@click.stop="onRemoveFileClick(item.title, i)"
>
<component :is="iconMap.delete" v-if="isSharedForm || (isUIAllowed('dataEdit') && !isPublic)" /> <component :is="iconMap.delete" v-if="isSharedForm || (isUIAllowed('dataEdit') && !isPublic)" />
</NcButton> </NcButton>
</NcTooltip> </NcTooltip>

Loading…
Cancel
Save