Bug 1855068 - (Part 1) Added functionality to get all data sizes by time range. r=pbz,fluent-reviewers,flod

Differential Revision: https://phabricator.services.mozilla.com/D190862
This commit is contained in:
Harshit Sohaney
2024-01-10 11:47:26 +00:00
parent 6f673a1221
commit 20e51c41c6
7 changed files with 311 additions and 15 deletions

View File

@@ -303,7 +303,10 @@ DialogHelper.prototype = {
"load",
() => {
// Run onload on next tick so that gSanitizePromptDialog.init can run first.
executeSoon(() => this.onload());
executeSoon(async () => {
await this.win.gSanitizePromptDialog.dataSizesFinishedUpdatingPromise;
this.onload();
});
},
{ once: true }
);