fix(fe/state_updater): uploads are not inited correctly because of initing order
This commit is contained in:
parent
ff5e6db140
commit
832be61083
1 changed files with 2 additions and 1 deletions
|
@ -423,11 +423,12 @@ export class Updater {
|
||||||
const statuses = await Promise.all([
|
const statuses = await Promise.all([
|
||||||
this.refreshUploadings(),
|
this.refreshUploadings(),
|
||||||
this.listSharings(),
|
this.listSharings(),
|
||||||
this.initUploads(),
|
|
||||||
]);
|
]);
|
||||||
if (statuses.join("") !== "") {
|
if (statuses.join("") !== "") {
|
||||||
return statuses.join(";");
|
return statuses.join(";");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.initUploads();
|
||||||
return "";
|
return "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue