|
|
@ -20,7 +20,6 @@ const { |
|
|
|
downloadFile, |
|
|
|
downloadFile, |
|
|
|
updateModelValue, |
|
|
|
updateModelValue, |
|
|
|
selectedImage, |
|
|
|
selectedImage, |
|
|
|
renameFile, |
|
|
|
|
|
|
|
} = useAttachmentCell()! |
|
|
|
} = useAttachmentCell()! |
|
|
|
|
|
|
|
|
|
|
|
// todo: replace placeholder var |
|
|
|
// todo: replace placeholder var |
|
|
@ -133,14 +132,6 @@ function onRemoveFileClick(title: any, i: number) { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-tooltip> |
|
|
|
</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 |
|
|
|
<div |
|
|
|
:class="[dragging ? 'cursor-move' : 'cursor-pointer']" |
|
|
|
:class="[dragging ? 'cursor-move' : 'cursor-pointer']" |
|
|
|
class="nc-attachment h-full w-full flex items-center justify-center" |
|
|
|
class="nc-attachment h-full w-full flex items-center justify-center" |
|
|
|