mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 20:15:15 +08:00
FIX: add missing type
to form template upload (#23935)
This commit is contained in:
parent
1a70817962
commit
6c818b449a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user