diff --git a/app/javascript/application.js b/app/javascript/application.js index 178b3623..c20f0718 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -86,7 +86,7 @@ window.customElements.define('template-builder', class extends HTMLElement { backgroundColor: '#faf7f5', withPhone: this.dataset.withPhone === 'true', withLogo: this.dataset.withLogo !== 'false', - withPayment: this.dataset.withPayment !== 'false', + withPayment: this.dataset.withPayment === 'true', acceptFileTypes: this.dataset.acceptFileTypes, isDirectUpload: this.dataset.isDirectUpload === 'true' })