fix
This commit is contained in:
parent
b8b3f1b283
commit
f60aebaa76
|
@ -774,7 +774,7 @@ export default class ImageControl extends React.Component<
|
||||||
cb: (error: null | string, file: Blob, obj?: FileValue) => void,
|
cb: (error: null | string, file: Blob, obj?: FileValue) => void,
|
||||||
onProgress: (progress: number) => void
|
onProgress: (progress: number) => void
|
||||||
) {
|
) {
|
||||||
const {translate: __} = this.props;
|
const __ = this.props.translate;
|
||||||
this._send(file, this.props.reciever as string, {}, onProgress)
|
this._send(file, this.props.reciever as string, {}, onProgress)
|
||||||
.then((ret: Payload) => {
|
.then((ret: Payload) => {
|
||||||
if (ret.status) {
|
if (ret.status) {
|
||||||
|
|
Loading…
Reference in New Issue