rename
This commit is contained in:
parent
5e0bcb0a79
commit
3bbdc58920
|
@ -343,11 +343,12 @@ export default function Uploader(props: Props) {
|
|||
|
||||
const retryFailed = async () => {
|
||||
try {
|
||||
const resp = await uploadManager.getFailedFilesWithCollection();
|
||||
const filesWithCollections =
|
||||
await uploadManager.getFailedFilesWithCollections();
|
||||
await preUploadAction();
|
||||
await uploadManager.queueFilesForUpload(
|
||||
resp.files,
|
||||
resp.collections
|
||||
filesWithCollections.files,
|
||||
filesWithCollections.collections
|
||||
);
|
||||
} catch (err) {
|
||||
showUserFacingError(err.message);
|
||||
|
|
|
@ -422,7 +422,7 @@ class UploadManager {
|
|||
}
|
||||
}
|
||||
|
||||
async getFailedFilesWithCollection() {
|
||||
async getFailedFilesWithCollections() {
|
||||
return {
|
||||
files: this.failedFiles,
|
||||
collections: [...this.collections.values()],
|
||||
|
|
Loading…
Reference in a new issue