add recipient preferences

This commit is contained in:
Pete Matsyburka
2024-09-06 19:30:49 +03:00
committed by Oleksandr Turchyn
parent 126a36dbf3
commit 71b8cc7172
13 changed files with 201 additions and 17 deletions
+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()
}
}