chore: Preview email attachments

This commit is contained in:
iamsivin
2025-05-02 20:20:14 +05:30
parent c1c488eafa
commit cc44e7ab88
3 changed files with 17 additions and 0 deletions
@@ -36,6 +36,10 @@ const props = defineProps({
type: Number,
default: null,
},
attachments: {
type: Array,
default: () => [],
},
});
const emit = defineEmits(['close']);
@@ -163,6 +167,7 @@ const handleSelectedContact = async ({ value, action, ...rest }) => {
:is-creating-contact="isCreatingContact"
:from-email="fromEmail"
:message="message"
:attachments="attachments"
:message-signature="messageSignature"
:content="content"
:is-plain-email="!message || !Object.keys(message).length"