diff --git a/app/javascript/submission_form/completed.vue b/app/javascript/submission_form/completed.vue index fd970c45..00310eb4 100644 --- a/app/javascript/submission_form/completed.vue +++ b/app/javascript/submission_form/completed.vue @@ -181,6 +181,10 @@ export default { spread: 140 }) } + + if (window.decline_button) { + window.decline_button.setAttribute('disabled', 'true') + } }, methods: { sendCopyToEmail () { diff --git a/app/views/shared/_html_modal.html.erb b/app/views/shared/_html_modal.html.erb index a966b195..1c104043 100644 --- a/app/views/shared/_html_modal.html.erb +++ b/app/views/shared/_html_modal.html.erb @@ -1,5 +1,5 @@ <% uuid = SecureRandom.uuid %> - +