add builder currencies prop

This commit is contained in:
Pete Matsyburka
2024-01-26 10:43:32 +02:00
parent 5c69b965c0
commit b4ba642f8e
3 changed files with 13 additions and 3 deletions
+1
View File
@@ -89,6 +89,7 @@ window.customElements.define('template-builder', class extends HTMLElement {
withPhone: this.dataset.withPhone === 'true',
withLogo: this.dataset.withLogo !== 'false',
withPayment: this.dataset.withPayment === 'true',
currencies: (this.dataset.currencies || '').split(',').filter(Boolean),
acceptFileTypes: this.dataset.acceptFileTypes,
isDirectUpload: this.dataset.isDirectUpload === 'true'
})