fix: uppy requires a type
This commit is contained in:
parent
7e78f17937
commit
756a505590
|
@ -14,6 +14,7 @@ export default class UppyFileUpload extends BasePlugin {
|
||||||
constructor(uppy: Uppy, opts?: UppyFileUploadOptions) {
|
constructor(uppy: Uppy, opts?: UppyFileUploadOptions) {
|
||||||
super(uppy, opts);
|
super(uppy, opts);
|
||||||
this.id = opts?.id || 'file-upload';
|
this.id = opts?.id || 'file-upload';
|
||||||
|
this.type = 'uploader';
|
||||||
this._sdk = opts?.sdk as Sdk;
|
this._sdk = opts?.sdk as Sdk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue