handle unsupported file types

This commit is contained in:
Alex Turchyn
2023-09-05 20:33:40 +03:00
parent e7594d81b6
commit 2ad5f8a316
7 changed files with 48 additions and 7 deletions
+1
View File
@@ -76,6 +76,7 @@ window.customElements.define('template-builder', class extends HTMLElement {
template: reactive(JSON.parse(this.dataset.template)),
backgroundColor: '#faf7f5',
withPhone: this.dataset.withPhone === 'true',
acceptFileTypes: this.dataset.acceptFileTypes,
isDirectUpload: this.dataset.isDirectUpload === 'true'
})