Browse Source

chore(nc-gui): remove renameFile in attachment modal

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
437f9be328
  1. 9
      packages/nc-gui/components/cell/attachment/Modal.vue

9
packages/nc-gui/components/cell/attachment/Modal.vue

@ -20,7 +20,6 @@ const {
downloadFile,
updateModelValue,
selectedImage,
renameFile,
} = useAttachmentCell()!
// todo: replace placeholder var
@ -133,14 +132,6 @@ function onRemoveFileClick(title: any, i: number) {
</div>
</a-tooltip>
<a-tooltip placement="bottom">
<template #title> Rename File </template>
<div class="nc-attachment-download group-hover:(opacity-100) mr-[35px]">
<MdiEditOutline @click.stop="renameFile(item)" />
</div>
</a-tooltip>
<div
:class="[dragging ? 'cursor-move' : 'cursor-pointer']"
class="nc-attachment h-full w-full flex items-center justify-center"

Loading…
Cancel
Save