FIX: add missing type to form template upload (#23935)

This commit is contained in:
Renato Atilio 2023-10-15 11:17:11 -03:00 committed by GitHub
parent 1a70817962
commit 6c818b449a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,8 @@ export default class FormTemplateFieldUpload extends Component.extend(
@tracked fileUploadElementId = `${dasherize(this.id)}-uploader`;
@tracked fileInputSelector = `#${this.fileUploadElementId}`;
type = "composer";
@computed("uploading", "uploadValue")
get uploadStatus() {
if (!this.uploading && !this.uploadValue) {