PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent * Fixed handling of upload errors
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
7bde11d21b
Коммит
c6602ae2b8
@@ -99,7 +99,7 @@ class FileUpload extends React.Component {
|
||||
channelId,
|
||||
clientId,
|
||||
this.fileUploadSuccess.bind(this, channelId),
|
||||
this.fileUploadFail.bind(this, clientId)
|
||||
this.fileUploadFail.bind(this, clientId, channelId)
|
||||
);
|
||||
|
||||
const requests = this.state.requests;
|
||||
|
||||
Ссылка в новой задаче
Block a user