Fix ts errors upon prod compilation

This commit is contained in:
2025-03-14 15:07:23 +01:00
parent 40eb71f95a
commit 7ddf84ea5a
6 changed files with 32 additions and 20 deletions

View File

@@ -45,6 +45,9 @@ const onPickGenericDoc = ({
}) => {
emit("pickGenericDoc", { genericDoc });
};
const onRemoveAttachment = (payload: { attachment: WorkflowAttachment }) => { emit('removeAttachment', payload) };
</script>
<template>
@@ -56,7 +59,7 @@ const onPickGenericDoc = ({
></pick-generic-doc-modal>
<attachment-list
:attachments="props.attachments"
@removeAttachment="(payload) => emit('removeAttachment', payload)"
@removeAttachment="onRemoveAttachment"
></attachment-list>
<ul class="record_actions">
<li>