1
0
forked from test/crm

refactor: update button icon rendering in AttachmentArea component

(cherry picked from commit 63d60626738be6b6dc911a8d6a78a9cb7f3e77b8)
This commit is contained in:
Shariq Ansari 2025-07-30 16:12:21 +05:30 committed by Mergify
parent 788c565e71
commit bed6e346ef

View File

@ -50,10 +50,12 @@
togglePrivate(attachment.name, attachment.is_private)
"
>
<FeatherIcon
:name="attachment.is_private ? 'lock' : 'unlock'"
class="size-3 text-ink-gray-7"
/>
<template #icon>
<FeatherIcon
:name="attachment.is_private ? 'lock' : 'unlock'"
class="size-3 text-ink-gray-7"
/>
</template>
</Button>
</div>
</Tooltip>
@ -63,7 +65,12 @@
class="!size-5"
@click.stop="() => deleteAttachment(attachment.name)"
>
<FeatherIcon name="trash-2" class="size-3 text-ink-gray-7" />
<template #icon>
<FeatherIcon
name="trash-2"
class="size-3 text-ink-gray-7"
/>
</template>
</Button>
</div>
</Tooltip>