add recipient preferences

This commit is contained in:
Pete Matsyburka authored and Oleksandr Turchyn committed 2024-09-09 13:57:46 +03:00
1 parent 126a36dbf3
commit 71b8cc7172
13 files changed
+201 -17

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export default actionable(class extends HTMLElement {
}
onSubmit = (e) => {
if (e.detail.success) {
if (e.detail.success && e.detail?.formSubmission?.formElement?.dataset?.closeOnSubmit !== 'false') {
this.close()
}
}